Thank you for getting back to me
Yes I have full control over the csv file (I built it in excel and saved it in a csv format)
I am open to change the date format it's not a problem
I am seeking help on selecting a specfic cell from the file based on specfic date (ideally reading the date from current date using the clock item)
I am currently reading some help/ideas
So in points:
how to use if/then function to check the current date and finding it in the csv list/index
Selecting specific data that's linked to that date and feeding them into setting lables text
Any Help using MIT inventor (I guess I will need the following items: clock, file (upload the csv), lables)
What I want now is to display only the data/item that are in the current date (i.e. when the item in d column matches the current day)
So I don't want to display the entire csv data , only one row that belongs to the current date (say today 6th June) when the list item in index 2 matches today date/day
I believe that I will need to use:
if/then function
and the clock/now (call clock/DayOfMonth/instant?clock.now) to match the item in the column d
I used a List Picker populated from the days in column 1 of your table.
I left it to the user to know what day they wanted.
I used all the columns past column 1 with that header row to populate a ListView with all player scores for the selected day. I used the Main/detail ListView format to pair the names and scores.
Add extra columns for extra players. The column count and player count is not hardwired.
I really appreciate your efforts and the time you took to generate such comprehensive perfect piece of work
However,
I embarrassingly still want it to be based on the current day/date automatically
And to show the data of the current day as soon as the app initiate the screen without the needless additional step to pick up specific day by the user
@ABG thank you
Do you mean just start with the last row of the table?
I want to call and the display the the data in the row where the day in the table matches the current day of the current date
when I open the app it will go and check the column d (the day number) and compare it against the current today's date and then display it, crystal clear
By the way, how would you refresh the data every day for all those users?
the data is always fixed not changeable
i just want to display part of it based of the date that's all
The only issue for me is that I will need to learn JavaSript in case I wanted to modify the app
And I don't think I can learn it over the night long journey for me
I have noticed that you used IF function and Clock.now
both are available in MIT app components
Is there any easier way to implement the same idea using simple blocks in MIT App Inventor rather than solving with JS coding?
@ABG
You have already given me the solution
Highly appreciated
Tested and works perfectly
Trust me that's exactly what I needed
I can clearly see that you preferred LISTVIEW and LISTPICKER which is fine and doing the job
Whenever you got free time if possible no pressure no rush the topic is resolved already
But it will look much simpler if you do me a massive favour by using simple LABLES to feed it with data
Thanks you so much guys
You are doing fantastic job in here
I used labels which refers to data for each person (David , Lucy, ....)
I aimed to SET those labels and add text that's found in the CSV table
you thankfully replaced that with listview
Using the listpicker method which is fine but I think it will look nicer and simpler if we return to labels
no need to use listview and listpicker way I guess