Problem in Viewing Record ---Enterprise Portal

Hi, I’ve developed a page in Enterprise Portal,and that page has list of records,which I can view and edit each record………but when I choose a record to edit or view,it display the 1st record only,it does’nt fetche the respective record which I select… Can anybody help me Regards, Rajee