05-15-2007 4:59 PM
Hello All,
I have created a events in table maintenance generator. i am facing problem in coding. i need to do the coding "ON saving to database".
I have seen people using table "Total" and "Extract" for getting the table records. can anyone please guide me which table will be having the values which i can use and put validations on???
Thanks in advance.
Jai
05-15-2007 5:30 PM
Hi Jaideep,
loop at total and do the validations..
the total table will have all the records.. suppose you have 10 records in the view and you clicked on 'new entries' to create 2 entries then extract will have the 2 entries whereas total will have 12 records..
also when saving/deleting to/from databse total will be considered
Regards,
Vidya.
05-15-2007 5:03 PM
05-15-2007 5:30 PM
Hi Jaideep,
loop at total and do the validations..
the total table will have all the records.. suppose you have 10 records in the view and you clicked on 'new entries' to create 2 entries then extract will have the 2 entries whereas total will have 12 records..
also when saving/deleting to/from databse total will be considered
Regards,
Vidya.
05-15-2007 5:42 PM
Hi Vidya
i have tried that but i am getting syntax error for total. I guess i am placing the code at wrong place...
i am putting in the top include in form where it is alowing me to keep code. i have seen in debug mode that value is coming in total.. but i donn know why it is giving syntax error at the place where i am writing code(when i am saving it and doing syntax check)..
please guide...
05-15-2007 6:34 PM
05-16-2007 3:43 AM
Hi Jaideep,
i didn't get the problem. after creating a new entry in the events list, when you save it you get an editor icon right? just click on that and write your code there.
what is the error thrown???
Regards,
Vidya.