Solved

Little help please

Posted on 2002-07-03
8
147 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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 

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

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

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

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

751 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