Solved

Little help please

Posted on 2002-07-03
8
143 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
  • 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
 

Accepted Solution

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

Add an extra # in front of #.

Thank you.
0
Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

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…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now