LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Error '' is not a valid name. Make sure that it does not include invalid characters or punctuation and that it is not too long.

Hello Everyone,
I'm retrieving data from Excel from my asp.net page
The WorkSheet name is StatusPasPorts.

When i remove the column [Account Reference No.] it does work fine but if i
use it i get error :
'' is not a valid name. Make sure that it does not include invalid
characters or punctuation and that it is not too long.

SELECT [Event Date],[Mobile Number],[Event Type Name],[Identification
Method],[Customer DOB],[Account Reference No.] FROM [StatusPasPorts$] where
[Mobile Number] = '" + this.TextBox1.Text.ToString() + "' order by [Event
Date] ASC

Any ideas what i'm missing.

Thanks in Advance




 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Valid Hyperlinks being reported as Invalid Steve Links and Linking in Excel 0 December 23rd 08 04:45 AM
Checking for Invalid filename characters John Keith[_2_] Excel Programming 2 May 8th 07 08:31 PM
Invalid Characters in Worksheet Name (International) Drew Lettington Excel Programming 18 October 11th 06 09:31 PM
List of invalid sheet tab characters? quartz[_2_] Excel Programming 1 December 5th 05 05:10 PM
Invalid characters in Excel Andy Excel Programming 3 December 4th 03 04:34 PM


All times are GMT +1. The time now is 01:50 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"