Solved

Little help please

Posted on 2002-07-03
8
145 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

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…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

770 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