A
axapta
Hi Group,
I'm not sure if there's a limit to the amount of parameters you can pass
between pages.
I'm trying to pass 9 as follows:
strRedirect = "PlacementHistory.aspx" & _
"?hlscaseno=" & Me.txtHLSCaseNo.Text.ToString & _
"&SeqNo=" & Me.txtseqno.Text.ToString & _
"&type=" & Me.txtType.Text.ToString & _
"®no=" & Me.txtRegNo.Text.ToString & _
"&allocode=" & Me.txtAllocCode.Text.ToString & _
"&hlsstatus=" & Me.txtHLSStatus.Text.ToString & _
"&accomno=" & Me.txtaccomno.Text.ToString & _
"&roomno=" & Me.txtroomno.Text.ToString & _
"&letter=" & Me.txtletter.Text.ToString & _
"&startdate=" & Me.txtstarteddate.Text.ToString & _
"&name=" & Me.txtName.Text.ToString & _
"&propid=" & Me.txtpropid.Text.ToString
Server.Transfer(strRedirect)
However, I receive the following error:
Invalid path for child request
'PlacementHistory.aspx?hlscaseno=22238&SeqNo=1&type=hlshotel®no=0&allocode=&hlsstatus=CLOS&accomno=2&roomno=2&letter=
&startdate=01/07/2005 09:11:31&name=UNKNOWN WILKINSON&propid= '. A virtual
path is expected.
TIA
I'm not sure if there's a limit to the amount of parameters you can pass
between pages.
I'm trying to pass 9 as follows:
strRedirect = "PlacementHistory.aspx" & _
"?hlscaseno=" & Me.txtHLSCaseNo.Text.ToString & _
"&SeqNo=" & Me.txtseqno.Text.ToString & _
"&type=" & Me.txtType.Text.ToString & _
"®no=" & Me.txtRegNo.Text.ToString & _
"&allocode=" & Me.txtAllocCode.Text.ToString & _
"&hlsstatus=" & Me.txtHLSStatus.Text.ToString & _
"&accomno=" & Me.txtaccomno.Text.ToString & _
"&roomno=" & Me.txtroomno.Text.ToString & _
"&letter=" & Me.txtletter.Text.ToString & _
"&startdate=" & Me.txtstarteddate.Text.ToString & _
"&name=" & Me.txtName.Text.ToString & _
"&propid=" & Me.txtpropid.Text.ToString
Server.Transfer(strRedirect)
However, I receive the following error:
Invalid path for child request
'PlacementHistory.aspx?hlscaseno=22238&SeqNo=1&type=hlshotel®no=0&allocode=&hlsstatus=CLOS&accomno=2&roomno=2&letter=
&startdate=01/07/2005 09:11:31&name=UNKNOWN WILKINSON&propid= '. A virtual
path is expected.
TIA