tlemar Posted May 14, 2012 Share Posted May 14, 2012 Is it possible to obtain the alarm priority via code? I need to know the priority of the alarm to properly process the alarm response. Link to comment Share on other sites More sharing options...
AzeoTech Posted May 15, 2012 Share Posted May 15, 2012 No, but the Description and Help are available (alarm.myAlarm.strDescription / strHelp), so you could put the priority there and then pull it out. Link to comment Share on other sites More sharing options...
tlemar Posted May 17, 2012 Author Share Posted May 17, 2012 I am using those fields for other data. Any chance this will be available in future versions? Link to comment Share on other sites More sharing options...
AzeoTech Posted May 17, 2012 Share Posted May 17, 2012 A very likely chance, especially if you post the request in our "Feature Requests" forum so we don't forget! Link to comment Share on other sites More sharing options...
AzeoTech Posted May 17, 2012 Share Posted May 17, 2012 Also, you could embed the priority into those fields, say, use the first two characters: A-this is a description for a high priority B-this is one for low, lfkd sdflk sdlfksdlfkldsf etc. Then just look at the first character by using the Left() function. Or if you prefer, put it at the end: This is the sdjkaskdlfjcasdf casdfcasdlfkj - A and then use Right(). You may also want to use RTrim() just in case you put spaces at the end and don't realize it. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.