hello <br><br>I tried to retrieve the values from database to a form, to modify the existing account, but am getting all the records not the one whom i request, can u pls.help am attaching code here <br><br>i had three files <br><br>1) login.htm 2) action.cfm (for checking the validity) 3) loginvalid.cfm (to retrieve specified user from database) <br><br>if u click on login button from login.htm page the if user exists it'll pass to the loginvalid.cfm if not it goes to action.cfm <br><br>am attaching the code of loginvalidity.cfm <br><br>do i need to use a hidden variable..if so tell me.how<br><br>am attaching my code of third form..ie., loginvalidity.cfm<br><br>============================================================<br><br>Attachments: <cfquery name="retrieve" datasource="bubblegum"><br> select *from userinfo,userdetails where userinfo.username=userdetails.username<br> </cfquery><br><br><input type="text" name="user" value= "#username#"<br><input type= "text" name="pass" value= "#password#"<br><br>but am getting all the records not the one<br><br>kindly rectify this..<br><br> <br>