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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

field name issues

Status
Not open for further replies.

striker73

MIS
Jun 7, 2001
376
US
I have a really long field name (ie: Date_RMA_Part_Received_From_Customer) in my SQL Server database. When I pull the data out in my php form, I get an error: Warning: Field "Date_RMA_Part_Received_From_Customer not found in ... I have typed the field name correctly- I copy and pasted it into enterprise manager and it worked fine. Anyone have an idea of what's going on?

Thanks!
 
I'm using odbc_connect() to connect to the database. I'm using other field names that are working correctly.
 
Um.. Win32? I'm using Windows XP. The DB is hosted on a Windows Server 2000 machine.
 
Are any of the field names that work longer than the problematic one?

I'm wondering if your ODBC installation simply can't handle the long field name. Enterprise Manager, to the best of my knowledge, doesn't use ODBC to connect to MSSQL.

Want the best answers? Ask the best questions: TANSTAAFL!!
 
Nope, the only one that doesn't work is the super long one. I guess I'll just rename it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top