Solved

Little help please

Posted on 2002-07-03
8
148 Views
Last Modified: 2013-12-24
Hi to all .. .. I get an Invalid character (#) error when I sweep this line .. .. can you help .. .. thanks John

<DIV class="DIV1"><td class="DIV1" colspan="#colspanfactor#"><font face=helvetica color="blue" size=#fontparam#>#mid(array_row1[aj][1],3,len(array_row1[aj][1]) - 2)#</font></td></DIV>
0
Comment
Question by:vbDoc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
8 Comments
 

Expert Comment

by:hongln
ID: 7129239
Can you explain more  detail?
What is the value of variables: colspanfactor, fontparam,array_row1[aj][1], array_row1[aj][1]?

You used <CFOUTPUT>your code...</CFOUTPUT> or not?
0
 

Expert Comment

by:hongln
ID: 7129397
Can you explain more  detail?
What is the value of variables: colspanfactor, fontparam,array_row1[aj][1], array_row1[aj][1]?

You used <CFOUTPUT>your code...</CFOUTPUT> or not?
0
 
LVL 17

Expert Comment

by:anandkp
ID: 7133300
Hi there,

the best way to get around this is to follow the foll steps.


1. delete the above piece of code by using [Ctrl + X]

2. Mark this area with a comment <!--- code here --->

3. Now code sweep

4. after everythigns fine

5. replace <!--- code here ---> with ur actual code by using [Ctrl + V]

6. there u r - bypassing the error in a smart way.

The reason why this occurs is b'cos of the '#' character.

even i get it many a times - & i follow the above set of simple steps to get around it.

let me know if it helps ...

K'Rgds
Anand
0
Optimum High-Definition Video Viewing and Control

The ATEN VM0404HA 4x4 4K HDMI Matrix Switch supports 4K resolutions of UHD (3840 x 2160) and DCI (4096 x 2160) with refresh rates of 30 Hz (4:4:4) and 60 Hz (4:2:0). It is ideal for applications where the routing of 4K digital signals is required.

 

Accepted Solution

by:
iqbalwali earned 50 total points
ID: 7133587
vbDoc,

Add an extra # in front of #.

Thank you.
0
 
LVL 2

Author Comment

by:vbDoc
ID: 7138850
iqbalwali,
Where do I add the extra #.
Thanks,
John
0
 
LVL 2

Author Comment

by:vbDoc
ID: 7143773
.... or I should ask .. .. do I add the extra # in front of every # ???
John
0
 
LVL 17

Expert Comment

by:anandkp
ID: 7145189
Hi vbDoc,

If u add a extra '#' just for the sake of formatting - then the output u get, wont be the way u want it.

ne-ways the answere to ur last comment is to add extra '#' in front of every '#'  - yes !!

eg #Anand# should become ##Anand## ...

but this would probably only help in formatting & to get ur code to work properly - u'll have to revert back to single '#'.

thats why i had suggested the simple steps ... but its upto u to decide so ...

K'Rgds
Anand
0
 
LVL 2

Author Comment

by:vbDoc
ID: 7146333
It did work when I removed the line .. .. but I had to remove 60 lines <yuck> .. .. but it pays the same. Thanks for the help and comments from the others. John
0

Featured Post

Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question