This is a dusy

Results 1 to 2 of 2

Thread: This is a dusy

  1. #1
    glovesave Guest

    Default This is a dusy

    How can I print the colomn headers. I am trying to print the names of all colomns that contain a particular value. I can check for the value but I don&#039t know how to print out the value. Please help

  2. #2
    Join Date
    Dec 1969

    Default If you want to print field names....

    If I understand your problem correctly you want to print the column names? If so (untested code follows)<BR><BR>Dim oField<BR>Dim rsData<BR><BR>Set rsData=etc etc<BR><BR>For Each oField in rsData.Fields<BR> Response.Write oField.Name<BR>Next<BR><BR>Or Response.Write rsData.Fields(2).Name<BR><BR>regards, Steve

Posting Permissions

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