Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Browse A Queue which Has an Array Field

Status
Not open for further replies.

newtoclarion

Programmer
Jul 20, 2011
66
SA
I will give an example for what Iam trying to do:

I defined a queue as follow:

QQQ QUEUE,PRE(QQQ)
CC CSTRING(20),DIM(20)
END

and then ran this code to create a sample data

free(QQQ)
loop i# = 1 to 3
QQQ:CC[1] = i#
add(QQQ)
end


Until here it is fine, but when I tried to browse this data I get this error : Parameter typing error.

Any suggestions will be so appreciated.


 
Why DIM(20), is there any Reason?
How did try to browse this data?

cagiv
 
Because my Queue contains more than 100 fields so instead of defining 100 fields I can define one field of DIM(100), then you can loop through instead of dealing with so many fields.
In operation it runs fine but if you try to view it in a list it gives this error.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top