View Complete Thread | FoxWeb Forum Home
Search:
Date:    Msg ID:   
From:    Thread:   
Subject:   
I have a problem passing 2 parameters.
My code looks like this :
<a href="iaraut_mod.fwx?objectid=<%=crobj.objectid%>,iarid=<%=crcontact.iarid%>" ONCLICK="return confirm('Request Modification of selected parameter ?')"><%=TRIM(crobj.objval1)%></a>
 
I only get one parameter by retrieving it via :
M.iarID = Request.Item('iarID')
 
If I do the same for the other one, it does not work.
 
the receiving program looks like this :
<%
LPARAMETERS objectid,iarID
=setsets()
* Read iar number
IF PCOUNT() = 0
 M.iarID = Request.Item('iarID')
 M.objectid = Request.Item('objectid')
ENDIF
IF EMPTY(M.iarID)
 Response.Write("Error: No Employee id was specified")
 Response.End
ENDIF
IF EMPTY(M.objectid)
 Response.Write("Error: No Object id was specified")
 Response.End
ENDIF
server.transfer("iaraut_show.fwx",m.iarid)
%>
 
 
The variables are nicely filled in the calling program.
What am I overlooking ?
 
Thanks,
 
Cas Nuy
Netherlands