Accessing selected records from datasheet view Subform. access 2003

Posted on 2007-07-20
Medium Priority
Last Modified: 2012-06-21

I'm creating database using Access 2003.

I need to create Form with subform (the subform is based on query) and i want it to use datasheet view.
After that I want to be able edit data inside subform or add some buttons on main for which allow me to edit selected rows from my subform,

How can I get selected data form subform ? (example please)
Can I edit data in datasheet view of Form based on query?

Best Regards
Question by:f_o_o_k_y
  • 2
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 19530181
<Can I edit data in datasheet view of Form based on query?>

yes, you can, only if the query is not complex and  is updateable
LVL 120

Accepted Solution

Rey Obrero (Capricorn1) earned 1500 total points
ID: 19530185
another way is to open another form in single view mode which will display the record's particulars that you selected from the sub form.

this can be done in the click event of the form or the field.

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
In a use case, a user needs to close an opened report by simply pressing the Escape (Esc) key. This can be done by adding macro code in Report_KeyPress or Report_KeyDown event.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question