Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL columns

Status
Not open for further replies.
Apr 27, 1999
705
0
0
US
Hello,

I have an SQL query that returns alot of columns from several tables. In object result, I can access some columns such as PIN = objRs("PIN") or other column names. However when I try to access another column like phone = objRs("Phone") the ASP page blows up. In VbScript, I have no problems accessing "phone" so I don't think this is an SQL problem. If I reduce the number of fields or columns in the query, the ASP works fine. Is there a setting for the number of fields returned in an SQL query for an ASP page. There's only one record that's returned so it is not the number of records.

Any help would be greatly appreciated
Thanks,
fengshui_1998
 
This seems more appropriate for the ASP forum: forum333
Or possibly one of the SQL Server forums...

>the ASP page blows up
When the smoke clears, is there an error message?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top