View Full Version : editing wrong record in datagrid

08-04-2005, 06:00 PM

I'm havong a problem with the datagrid. The datagrid edit function works fine when I haven't narrowed the records down with a search but as soon as I use a form variable to search for data the datagrid shows the correct records for the search but when I come to use the edit button in the datagrid it takes me to a different record to the one I selected. I have realised that the record being selected is at the same position in the datagrid before the search. For example, If the search returns 4 records and I try to edit the 3rd one it will take me to the 3rd record from all records before I did the search for editing.

I hope I have made my problem clear and would much appreciate any help.

many thanks

mike :(