sricant Posted December 11, 2002 Posted December 11, 2002 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
Steve T. Posted December 11, 2002 Posted December 11, 2002 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.).
sricant Posted December 12, 2002 Author Posted December 12, 2002 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.
Steve T. Posted December 12, 2002 Posted December 12, 2002 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!
Recommended Posts
This topic is 8086 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now