December 11, 200223 yr Hi all, I have many records like for each semester for past 5 years.I want to edit these records.But i want to edit only those records which are related to current semester and year.i have a field like semcode this has year and sem like 0311(03 is last two letters of 2003 and 11-a code for spring).may be we can use this field for checking(not necessary). I tried many methods but i am not getting exact results. any suggetions ... thank you in advance sri
December 11, 200223 yr Hi, sricant! I am not sure where you are having trouble but this seems to be a simple find you can do many ways. Here are a few: "pre-entered" that only works for current sem/year: <INPUT TYPE="hidden" NAME="semcode" VALUE="0311"> semcode entered by website visitor: <INPUT TYPE="text" NAME=semcode> choose from popup/select menu: (sorry, don't have code handy but easy) Just make sure you use all the basic form tags along with them (-db, -format, -lay, etc.).
December 12, 200223 yr Author Hi, Thank you for ur reply.But my problem is when we press edit button it will checks present sem and year and gives the record that belongs to present sem.But usen not enters anything for this one.i gave semcode for easy checking instead of checking both year and month an etc. we can directly check year and sem from semcode.But user doesn't enter this semcode. i tried many but getting wrong results.. i hope this time my explanation is better than previous one. sri.
December 12, 200223 yr Hmm... I still do not understand exactly but if you are only having trouble with the EDIT button and have no trouble with SEARCH, then maybe it is something like a missing <INPUT TYPE="hidden" NAME="-RecID" VALUE="[FMP-currentrecid]"> This is required in any -EDIT page. Having a correct -FIND is not enough. If this is not it, maybe show us your code and we can look it over. Hope this helps!
Create an account or sign in to comment