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? 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now