NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Mike Grigsby on September 22, 2009, 06:51:35 PM

Title: Problems deleting record
Post by: Mike Grigsby on September 22, 2009, 06:51:35 PM
I'm at wits end as to how to fix a problem when I delete a record from a browse. I get a Page Not Found white screen. The URL is http://localhost:4604/-1?FromForm=InventoryF.  I've tried everything from ignore key not being unique, to? It was working at one time, and now it flakes out on me. Other deletes work okay. Anyone ever seen this before?
Title: Re: Problems deleting record
Post by: Bruce on September 23, 2009, 12:24:22 AM
Hi Mike,

If you look at the server log, what page is it looking for?

If that equates to a procedure, what _template type_ is the procedure?

cheers
Bruce
Title: Re: Problems deleting record
Post by: Alberto on September 23, 2009, 01:53:22 AM
-1 ?
What does it means?
Alberto
Title: Re: Problems deleting record
Post by: Mike Grigsby on September 23, 2009, 10:15:17 AM
There's nothing in the weblog.log. I tried deleting it, then redoing the delete, and still nothing in the log.
Title: Re: Problems deleting record
Post by: Mike Grigsby on September 24, 2009, 10:21:57 AM
The problem seems to be with the generation of this code, but I'm not sure why it's being generated, since the user is logged in:

 If p_web.GetSessionLoggedIn() = 0
    Return -1
 End

And it is on the browse, not the form.

It does delete the record, but gives the Page not found white window. If I hit backspace, the record is deleted. The next deletes work fine.

It also deletes records on the first page that appears, but not records on subsequent pages, after hitting the Next or Last buttons.