Solved

Informix Arrays

Posted on 2001-06-27
1
1,509 Views
Last Modified: 2009-12-16
How does Informix define a two dimensional array.

I would like to store my data in a two dimensional array and then when I have collected it all print it out.

I've looked at all my informix books and none of them show me 2 dimensional they all just show one dimesion.

Thanks for any light you can shed on this.

Greg
0
Comment
Question by:gandrews081397
1 Comment
 
LVL 1

Accepted Solution

by:
gamaerte earned 100 total points
ID: 6285904
Hi Greg ,

You have two possible solutions :

If you have a fixed width 2 dimensional array , you can set it up to calculate it from one dimension

on an array 10 wide , for position 3,5 you calculate it as 3 + 5 * 10


Or even simpler just set the positions as attributes.
(just add them as columns)

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL Insert Query Help 16 96
ORA-12560: TNS:protocol adapter error 8 87
Oracle Public Synonyms and Privileges 2 51
SQL Server - Check Constraint or NOT NULL? 11 69
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now