Solved

Informix Arrays

Posted on 2001-06-27
1
1,492 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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 …
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
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…

757 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

22 Experts available now in Live!

Get 1:1 Help Now