I have a query that runs after my prompt page that displays a page based on inputs from the user (different client types will show different landing pages). From there, the user can change dates, select specific reports to display, etc. On this page are text box prompts for the dates in the format YYYY-MM-DD. Right now these dates are manually updated monthly with the appropriate start and end default dates (we default these dates based on the client type).
What I can't figure out is how to take the results from the first query and use those as the default selections in the text box prompts. The start and end dates that come back from the query are actual dates (so right now they display Dec 1, 2019 and Nov 30, 2020 for my start and end dates), and I need the prompts to display 2019-12-01 and 2020-11-30.