Raja,
Your subform records should each have a unique key field value. (say... CustID for
example)
In your subform, use the double-click event of the CustID field to initiate the code to
open the Edit form.
The code that opens the Edit form should be...
DoCmd.OpenForm ""frmYourEditFormName", , , "CustID = " & CustID

Signature
hth
Al Campagna . Candia Computer Consulting . Candia, NH USA
Microsoft Access MVP
http://home.comcast.net/~cccsolutions
"Find a job that you love, and you'll never work a day in your life."
> Hi,
> I made a subform from a query, and made a form to same query for edit
[quoted text clipped - 7 lines]
> selected data in the form so i can change the specifice data.
> Please help me.
Al Campagna - 24 May 2007 16:58 GMT
Typo correction...
> The code that opens the Edit form should be...
> DoCmd.OpenForm "frmYourEditFormName", , , "CustID = " & CustID

Signature
hth
Al Campagna . Candia Computer Consulting . Candia, NH USA
Microsoft Access MVP
http://home.comcast.net/~cccsolutions
"Find a job that you love, and you'll never work a day in your life."
> Raja,
> Your subform records should each have a unique key field value. (say... CustID for
[quoted text clipped - 15 lines]
>> selected data in the form so i can change the specifice data.
>> Please help me.