Mailing List Archive



Back to the month index Back to the list index

Matt Heller (matt@bah.com)
Fri, 14 Nov 1997 09:00:43 -0500 (EST)


Date: Fri, 14 Nov 1997 09:00:43 -0500 (EST)
From: Matt Heller <matt@bah.com>
Subject: Display all 4 fields in table row
Message-ID: <Pine.SUN.3.95.971114085003.28819A-100000@mango.jmb.bah.com>

Hi,

        Thanks for the answers regarding my post yesterday, I see the
error of my ways...

        I am just starting out with mSQL and trying to play around to see
what I can do. I have a small database (2 records) with 4 fields, and I
have another db with 13 records and 10 fields. I am trying to learn mSQL
so I am writing a little program which selects * from the db and displays
it to the screen.

        My problem is that when I run the program it correctly returns the
number of records in the given db, but when I try to show the actual data
in the fields, I have no way of knowing (without hardcoding the number)
how many fields there are in each row. Does Lite have a simple way of
doing this that I can't find?

        Thanks, Matt

        

                            _____________________
                                 Matt Heller
                            Booz Allen & Hamilton
                              Internet Services
                                  Webmaster
                            _____________________