Jump to content

String array, putting values from DT on screen


Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.