Chirag8520 0 Posted May 21, 2014 Report Share Posted May 21, 2014 (edited) hello sir i make a script for google + post1) i make a csv filehttp://screencast.com/t/ksDLIgHT 2)when i run my script all the data will display in once, my aim is in one loop one one data is field after in second loop another data is fillhttp://screencast.com/t/CbyRNyofR so sir please help i also want to add function like when my first loop finish then row one will be delete automatic and again start from row one Edited May 21, 2014 by Chirag8520 Quote Link to post Share on other sites
HelloInsomnia 1103 Posted May 21, 2014 Report Share Posted May 21, 2014 Since you didn't provide code I can't edit yours. Instead here is the basic idea of what you're trying to do: ui open file("CSV File", #csv) comment("Clear the table before adding new data") clear table(&data) create table from file(#csv, &data) comment("Set the table row number to be 0 since 0 is the first row in the table (not 1)") set(#table_row_num, 0, "Global") loop($table total rows(&data)) { comment("This is the actual table cell so you can copy this code to use it anywhere not just an alert - the alert is just an example") alert($table cell(&data, #table_row_num, 0)) comment("At the end of each loop add 1 to the table row number because we want the next row on each iteration of the loop") increment(#table_row_num) } Quote Link to post Share on other sites
Chirag8520 0 Posted May 23, 2014 Author Report Share Posted May 23, 2014 (edited) Since you didn't provide code I can't edit yours. Instead here is the basic idea of what you're trying to do: ui open file("CSV File", #csv) comment("Clear the table before adding new data") clear table(&data) create table from file(#csv, &data) comment("Set the table row number to be 0 since 0 is the first row in the table (not 1)") set(#table_row_num, 0, "Global") loop($table total rows(&data)) { comment("This is the actual table cell so you can copy this code to use it anywhere not just an alert - the alert is just an example") alert($table cell(&data, #table_row_num, 0)) comment("At the end of each loop add 1 to the table row number because we want the next row on each iteration of the loop") increment(#table_row_num) } hellolnsomnia, this is my codeI use your code but again the data will be abstract all in once, i want that the data from the excel will load one by one in every loopgoogle+ bot.ubot Edited May 23, 2014 by Chirag8520 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.