+ Start a Discussion
Rick RollRick Roll 

N>Help Can't Get Last Data with Query

Good Day Everyone !
I have a visualforce page where it lists all the contents of the csv in column 1 (CSV Field)​ and select you can select values for column 2 and 3.
User-added image
My problem is that I can't get the saved data for the last value  ( A Field )​ of the csv file even though I can query it with workbench.
User-added image
Can anyone please share any ideas and experiences on why this happens and how to solve this?​
Best Answer chosen by Rick Roll
Rick RollRick Roll
where CSV__C =: header
​​where CSV__C =: header.trim()

I didn't notice that there was extra spaces on the last csv header when split​