Hi everyone! i’m a newbie at this and don’t even know if it is possible or not, but i would like to try to clean up a UserReponse that i have. my UserResponse is
=UserResponse(“Enter value(s) for Month Desc:”)
and it works great but when a full year is entered, it looks a little crowded.
In this case, I would try either (BETWEEN) or (FROM DATE OBJECT > “Prompt1” and TO DATE OBJECT < “Prompt2”) construct and design the query around that.
Your other option is to create max and min month objects for the data returned - obviously if there’s no data in January, it will say February, but it’s going to be easier.
i tried to use Min and Max but for some reason, it skips a month. for example, if i pull in Jan, Feb, Mar, Apr, the Min shows up as Feb and the Max shows up as Mar. i do know for a fact that there is data for every month. what am i doing wrong?
It’s doing a min / max based on character comparison. Feb < Jan from an alphabetical perspective. Can you convert the value into a date and go from there?
i just realized what it is doing. it is taking the min and max as alphabetical order. Min for Jan, Feb, Mar, Apr, is showing Apr and Max is showing Mar. is there a way i can fix this?
You could try with tagging “01-” to the start of each month and converting them to date and then playing with FormatDate to convert back the Min and Max values.
i just realized what it is doing. it is taking the min and max as alphabetical order. Min for Jan, Feb, Mar, Apr, is showing Apr and Max is showing Mar. is there a way i can fix this?