Solved

Informix Arrays

Posted on 2001-06-27
1
1,546 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
This post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
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…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

726 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