Disable Warning #5901
Hello,
I am a bit annoyed by the message #5901 (The script doesn't read Value bla-bla...)
I found recently the "Message configuration" with which you can disable some message boxes, but not the #5901.
How can I disable that alert ?
If I didn't read the field's Value, I may have a good reason and I'm tired to click on "Quit the script assistant" every time.
Thanks in advance if you have a solution
-
I guess this is for an OnProcessData event script?? This event kind of assumes that you would want to read the input value, in order to modify it in some way, hence the warning. Perhaps you should be using a stand-alone VB script data source instead?
I don't know of a way to suppress this myself.
0 -
It's indeed on an OnProcessData event script.
What I'm currently doing is this :
1) We have an activeX call that changes named substrings values (we don't want to change the behavior of the software that make these calls)
2) In one of these substring, we have a reference of a database object
3) in the OnProcessData, we open the database and stuff the value of a Text Object from a field of that database (hence, we change the value but we don't need to read it)
Are you telling me this is a bad way ? Maybe you could help me in doing it better, because we are filling in fact two text objects, thus we are forced to create two connections to the database, which is rather inefficient.
0 -
Let me get this straight concerning the sub-string in question:
1. Are you setting the value of the sub-string where the OnProcessData script is via the ActiveX application? Yes or no? Is the fact that you are controlling BarTender via ActiveX irrelevant to the problem at hand, but just mentioned for information?
2. What is the data source type of the sub-string in question?
3. Can you paste into your reply what you VB script is doing because I don't understand what you're saying there.
0
Please sign in to leave a comment.
Comments
3 comments