URL with field value.

This public forum is for user-to-user discussions of ASPMaker. Note that this is not support forum.

URL with field value.

Postby grankaiman » Wed Jan 17, 2018 3:35 am

Hi All.

I have the following issue and need your help.

one list with information of amount of contract per years

Client --- Quantity --Year
AA 10 2017
AB 5 2017

I set the CLIENT field as HREF field, when click on client, open another contract list to see the contracts details filtered for client selected and year selected.

the problem is i don't know how get the year value (??) to pass in the URL. I tried using the sentence declared in the help file, but always the page shows error. (

Here the information in the field Client. (?? -means i dont know what to write)

Client HRef
preffix:
detaillist.asp?x_client=
Suffix:
&x_zYear= ?? &cmd=search

Thanks.!
grankaiman
 
Posts: 12
Joined: Tue May 20, 2014 4:23 am

Re: URL with field value.

Postby Webmaster » Wed Jan 17, 2018 10:40 am

Try: <%= <Table>.<Field>.CurrentValue %>

Replace <Table> / <Field> with actual table/field names

Alternatively, use the Row_Rendered server event to set up the HrefValue:

<Field>.HrefValue = "..." & <Field>.CurrentValue & "...&x_field2=" & <Field2>.CurrentValue & "..."
Webmaster
 
Posts: 10802
Joined: Fri Aug 06, 2004 5:59 pm

Re: URL with field value.

Postby grankaiman » Thu Jan 18, 2018 2:30 am

Hi Webmaster.

Great.! I used Row_Rendered server event and worked fine.!

Thanks for your support.!
grankaiman
 
Posts: 12
Joined: Tue May 20, 2014 4:23 am


Return to General Discussion (ASPMaker)