Hi,
I had a problem to add a record in a simple table add page - after click on SAVE botton the "Key Field" was filled with the OwnerId's value, and the error message was about adding a dubble record.
I found out that the problem was in the "tableName_add.asp" with this 2 lines:
' insert ownerid value if exists
avalues("Field_Name")=prepare_for_db("FieldName",SESSION("" & strTableName & "_OwnerID"),"","")
When I erase these 2 lines it it works !! but now each time I "build" the project - those lines are beeing written again in the new "tableName_add.asp"
My question is - where can I fint the line in the "Project.aspr" file that creates this 2 lines and cancel it for the next "build".
Tx very much,
Yair.