Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CSV example: load, get cell, set cell, save
#1
Quote:Let's say I have a CSV file as such:



Filename: file.cvs



Directory = C:\CVSdb



CSV divider is "|" (and not a comma)



The file has 4 categories/columns as listed below & 2 rows:



Col-1 Col-2 Col-3 Col-4

LastName FirstName Age Sex



Ex:

Doe | John | 39 | M

Doe | Jane | 38 | F



Gintarus, could you provide me with a short example of how to:

-create this

-set the data (for example, change the name 'Jane' to 'Susan')

-get data = turn 'Susan' into a variable and then show it via 'out'


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)