M
|
MikeT 5/28/2024 |
You could add an "additional WHERE tab" in the query screen in phprunner. |
C
|
cristi 5/28/2024 |
When you say: "entered the SQL code into the server section of the button" you mean that litterally? |
C
|
Chris Whitehead 5/28/2024 |
@Jon_AK I would look at what MikeT has said, that's the quickest solution and doesn't need any JS. |
G
|
George K 5/29/2024 |
@Jon_AK, I have done something similar on my app. What I did, was to pass the filter for the current date on my url as a query parameter
|
J
|
Jon_AK author 5/29/2024 |
You could add an "additional WHERE tab" in the query screen in phprunner. Thanks Mike, appreciate your time. That does work although haven't tried hiding / restoring the tab, still finding my way around PHPR. |
J
|
Jon_AK author 5/29/2024 |
What I did, was to pass the filter for the current date on my url as a query parameter replace pagenamexxxx with your page name and DateFieldname with the date field name Thanks George for your reply, appreciate your time. Still finding my way in PHPR. Looked breifly before sending a reply but not sure where the correct place is to look for the page name. Also, I'm assuming the DateFieldname is the field name from the database, yes? |
G
|
George K 5/29/2024 |
Don't worry Jon_AK The page name would usually be the name of the table that you are using for your list page. When you build the app, and view it on browser you can easily get the exact name from the address bar. Correct, the DateFieldname is the exact name of the date field in your database.
This is how my address looks like. transfers is the name of the table and TransferDate is the name of the field. Best |
J
|
Jon_AK author 5/30/2024 |
"The page name would usually be the name of the table that you are using for your list page. When you build the app, and view it on browser you can easily get the exact name from the address bar." George, |