wasikhetmaar Posted July 21, 2015 Report Share Posted July 21, 2015 I'm working with getting names from a DT on the screen, and I got the folowing: read name from dt, row offset in string1 read name from dt, row offset +1 in string2 .... read name from dt, row offset +14 in string15 next page = offset + 15 reload. This way i can skip through the DT and show all values, but now I got a strung with 15 times almost the same code. The problem is that there isn't a array[string] with which it would be possible to make a loop. If there would be an array[string] then i could save at position [offset] and next time [offset +1], but now i need another name thereby I't isn't possible to make a loop. Any ideas? Quote Link to comment Share on other sites More sharing options...
wasikhetmaar Posted July 24, 2015 Author Report Share Posted July 24, 2015 In other words, how do you make a loop with strings. You can increment each time and thereby read from the next row in your DT. But if you want to save it in a string how do you increment your string?--> how do you get another string each time you go through your loop. Quote Link to comment Share on other sites More sharing options...
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.
Note: Your post will require moderator approval before it will be visible.