• 0

Getting Access Info


Question

Ok im not sure if this is possible, but lets see if someone can tell me...

I have an access file with a table called Routers. That table looks like this:

ID | Router | IP | SNMP |

---------------------------------------------

22 | Paris | 10.0.0.2 | public |

23 | Berlin | 10.0.0.3 | public |

This list is alot longer, but this will do for now.

OK what i want to do, is take each column from this table, and assign every entry into an array, so that my Router_Array would look like...

Router_Array(Paris, Berlin)

IP(10.0.0.2, 10.0.0.3)

and so on for the other columns. Is this possible? How do i go about doing this?

I'm trying to write this program for my internship and im stuck on this part, so any help would be awsome! :jump:

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Make a router class and add the info from each row into an instance of that class. Then add the instances to an array of router classes (Y)

Link to comment
Share on other sites

  • 0

Woah woah, slow down there, can you be a little more descriptive?

I understand what you are saying, but i dotn know how to get the individual row information into a variable :blink:

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.