I put the following 2 lines of code together to try to isolate the problem
Course = Util.LoadCSV2(DataStore & "/" & CourseName,"Course.csv",",",Heads)
Util.SaveCSV2(DataStore & "/" & CourseName,"Course.csv",",",Course,Heads)
The First line line correctly loads all details for each of 18 holes on a golf course, these are subsequently displayed correctly. However ....
The Second line seems to save the details of the 18th hole 18 times (not hole 1 - 18 as expected). Any ideas ??
(P.S. Originally posted in wrong forum)
Course = Util.LoadCSV2(DataStore & "/" & CourseName,"Course.csv",",",Heads)
Util.SaveCSV2(DataStore & "/" & CourseName,"Course.csv",",",Course,Heads)
The First line line correctly loads all details for each of 18 holes on a golf course, these are subsequently displayed correctly. However ....
The Second line seems to save the details of the 18th hole 18 times (not hole 1 - 18 as expected). Any ideas ??
(P.S. Originally posted in wrong forum)