Page 1 of 1

read advance search parameters

Posted: Tue Mar 21, 2023 7:48 am
by lamany77

Dear all
how do i read the value the advance parameters after search

ex :
advance search input :

date in : 20/01/2023 to 31/01/2023
client name : Mr. Test

i want to ready the parameters :

20/01/2023 to 31/01/2023
Mr. Test

thanks


Re: read advance search parameters

Posted: Tue Mar 21, 2023 8:47 am
by mobhar

You may try this code in Page_DataRendering server event that belongs to the List Page of orders table of demo2023 project:

$header = "Customer: " . $this->CustomerID->AdvancedSearch->SearchValue . ", Order Date between: " . $this->OrderDate->AdvancedSearch->SearchValue . " and " . $this->OrderDate->AdvancedSearch->SearchValue2;

Make sure you have already setup CustomerID and OrderDate fields as Extended Search, and for OrderDate field, make sure you have already chosen BETWEEN as the search operator.