Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 152
  • Last Modified:

Little help please

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
vbDoc
Asked:
vbDoc
  • 3
  • 2
  • 2
  • +1
1 Solution
 
honglnCommented:
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
 
honglnCommented:
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
 
anandkpCommented:
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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
iqbalwaliCommented:
vbDoc,

Add an extra # in front of #.

Thank you.
0
 
vbDocAuthor Commented:
iqbalwali,
Where do I add the extra #.
Thanks,
John
0
 
vbDocAuthor Commented:
.... or I should ask .. .. do I add the extra # in front of every # ???
John
0
 
anandkpCommented:
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
 
vbDocAuthor Commented:
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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 3
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now