Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2002
    Location
    Los Angeles
    Posts
    8

    Arrow Unanswered: AS400 Table Information

    Is there a way I can get the field names of an AS400 table via ASP coding.

  2. #2
    Join Date
    Feb 2002
    Location
    North Wales, UK
    Posts
    114
    All depends on what database access layer your using...

    Once you have the data in a recordset you can retrieve the field names using:
    for f = 0 to data_rs.fields.count-1
    response.write(data_rs.fields(f).name)
    next
    J^ - web | email
    newsASP Developer

  3. #3
    Join Date
    Sep 2002
    Location
    Los Angeles
    Posts
    8
    Originally posted by JonathanB
    All depends on what database access layer your using...

    Once you have the data in a recordset you can retrieve the field names using:
    Thanks...That helped alot.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •