I have a subform which shows the list of record .primary key is not assigned.i want to select a record from subform and want to click on a button called edit.it should open the form with the selected details.thanks in advance . suppose the subform name is" portdetails subform" and filed are l2 ip address, vlan ,mac address,name ,ser no,dn no,.can i attach the database here in this forum .