FTView VBA Numeric input and display object compare

tophing

Member
Join Date
Jan 2013
Location
Manila
Posts
3
Good Day,

Anyone has experience comparing numeric input and display on FTView SE vba? I'm having hard time debugging the script below.

First I created a script that will equal numeric input and display when pop up opens up.

Private Sub Display_Activate()
NumericInput.Value = NumericDisplay.Value
End Sub

Next is the condition that will trigger an action if the condition is satisfied.

Private Sub NumericInput_Change()
If NumericInput.Value <> NumericDisplay.Value then
"Action"
End if
End Sub

Numeric Input and display has the same tag. Has the same field length, decimal places, format and overflow configuration.

The intent of the logic is to trigger an action when numeric input is not equal to display. But the problem is that the action triggers the moment the pop up was called.

Please share your idea if you have done the same thing but worked.

Chris
 
Last edited:

Similar Topics

Hi all. Currently I'm working on a VBa script for FTView. I would like to understand a bit better about some commands. 1) What are the...
Replies
3
Views
602
Hi all. I'm running a VBA code on my FTView which is actually working, but everytime I open the display that calls the VBA code, it throws the...
Replies
28
Views
1,824
Greetings, I have this question: How can I add a tag, in my case LS:0 {#5} (literal string of tag #5), to a variable using VBA? I couldn't find...
Replies
4
Views
900
Hello Every one, I need a help on vba code for getting data from MSSQL server 2014 to display in FTview SE client version 12 . Thanks. Please...
Replies
4
Views
1,820
I've been messing around with trying to find a way to clear all PlantPAx AOI latched alarms via the Alarm Banner or Summary objects. So far, I can...
Replies
2
Views
1,742
Back
Top Bottom