As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.
What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.
During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.
I have the following code in an event handler that keeps producing the error "Datatypes not supported for computational/comparison operation."
IF SEC1 NE '' THEN BEGIN
OrderStk(1).CRS_SECTION = SEC1;
OrderStk(1).QTY = QTY1;ENDBEGIN
SEC1 is defined as A0. I'm just checking to see if there is any data in SEC1, and if so to assign it to a field in a stack. I'm not sure why this isn't allowed.
I know this is the code that is causing the error, because if I remove that code the error goes away.
Any one know why maintain is not allowing this simple comparison?This message has been edited. Last edited by: brjohnson,
Bryan Johnson WebFOCUS 7.7.03 Maintain Win 7 Excel, PDF, HTML
Tested your code, and it ran without any problem. But, as Waz already mentioned, we don't know what the formats of the various fields are. And this may even be caused by something that is also in this event handler, so maybe post your entire handler code?
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
1) In your example you say that QTY is an I11, but in the code you have QTY1. Is this just a typo? 2) What is the format of TheDate and OrderStk(C).ADDDATE ? 3) What is the format of SecCount?
I THOUGHT that maybe the problem was equating a A50V with an A0, but that's not causing me any problems. If you want, zip up the MNT files, MAS files and Other files and send them to: MARK_DERWIN@IBI.COM and I will try to debug here.
Mark
Posts: 663 | Location: New York | Registered: May 08, 2003
1) In your example you say that QTY is an I11, but in the code you have QTY1. Is this just a typo? 2) What is the format of TheDate and OrderStk(C).ADDDATE ? 3) What is the format of SecCount?
1) Just a typo. QTY1 is defined as I11. 2) TheDate / A10 OrderStk.ADDDATE / HYYMDs 3) SecCount / I8.This message has been edited. Last edited by: brjohnson,
Bryan Johnson WebFOCUS 7.7.03 Maintain Win 7 Excel, PDF, HTML
I'm going to assume you meant OrderStk.ADDDATE / HYYMDs and not HYMMDs. I still don't see the problem. If I had to guess I would assume it's the AnV format field.
I will be happy to debug here. Just zip up the files and send them to me at Mark_Derwin@ibi.com.
Mark
Posts: 663 | Location: New York | Registered: May 08, 2003