Modify FP2003 Delete page string (Full Version)

All Forums >> [Web Development] >> ASP and Database



Message


freeman24147 -> Modify FP2003 Delete page string (1/27/2008 6:46:12)

I'm trying to modify the FP2003 delete function to pass one extra value in its hyperlink string. The normal hyperlink from the editor/List.asp to the editor/Delete.asp page looks like this:
sRedirect = "delete.asp?FP_Num_Items=" & nCount & fp_sMyQry

But I want to pass the additional proj=1001 value, so I modified the code to look like this:

sRedirect = "delete.asp?proj=" & Request.QueryString("Proj_ID") & "FP_Num_Items=" & nCount & fp_sMyQry

But no data is passing through. I also tried this:

sRedirect = "delete.asp?proj=" & (Request.QueryString("Proj_ID")) & "FP_Num_Items=" & nCount & fp_sMyQry

but I just get a type mismatch. I'm using the base delete form generated be FP2003. I've made no other changes than this. What am I missing?




Spooky -> RE: Modify FP2003 Delete page string (1/29/2008 17:19:57)

sRedirect = "delete.asp?proj=" & Request.QueryString("Proj_ID") & "&FP_Num_Items=" & nCount & fp_sMyQry

Try it this way? the important part is the "&"




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875