This topic is locked

Event log template - Disable edit

2/19/2009 8:08:11 PM
ASPRunnerPro General questions
A
agruspe author

On the events list page, how can I disable the edit link option but still allow records to be viewed if the event date is already past the server date.
I do not want users the ability to modify records already past the server date but they should be able to add/edit today's and future events.

A
agruspe author 2/24/2009

I tried to use the following code in the List Page, After Record Processed:

if rs("startdate")<>now() then

xt.assign "edit_link",False

end if


But I am getting ASP error 3265 Item cannot be found in the collection corresponding to the requested name or ordinal although there are records. When the code above is removed, all records are displayed.
Any ideas how to disable the Edit link?
Thanks in advance..

J
Jane 3/3/2009

Hi,
It's difficult to tell you what's happening without seeing actual files.
Please publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages along with instructions on reproducing this error.