- Community Home
- >
- Welcome
- >
- Other HPE Product Questions
- >
- Re: Make field required based on BG_DETECTED_IN_RC...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2021 06:43 AM - edited 02-19-2021 11:51 AM
02-19-2021 06:43 AM - edited 02-19-2021 11:51 AM
Defect buttons not working after Bug_FieldCanChange
Hi,
I put the following code into Bug_FieldCanChange function.
I would like for the Description field to be disabled (no changes) when Defect Status is changed from "New".
It's sort of working. When the msgbox is not commented out, it pops up when Submit is clicked, but you can't close it. When there is no message, the Submit/Cancel buttons on defect do not work.
What am I missing?
Function Bug_FieldCanChange(FieldName, NewValue)
Bug_FieldCanChange = DefaultRes
On Error Resume Next
If Bug_Fields.Field("BG_STATUS").value<>"New" and FieldName ="BG_DESCRIPTION" then
Bug_FieldCanChange = False
'MsgBox "You cannot change description at this time"
Exit Function
Else
Bug_FieldCanChange = DefaultRes
End If
On Error GoTo 0
End Function
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2021 07:34 AM
02-19-2021 07:34 AM
Re: Make field required based on BG_DETECTED_IN_RCYC AND BG_USER_02
Can you tell me which HPE product you are referring to so that i can put it to the right board.
Thank you
Thanks,
Parvez_Admin
I work for HPE
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2021 11:50 AM
02-19-2021 11:50 AM
Re: Make field required based on BG_DETECTED_IN_RCYC AND BG_USER_02
Apologies. I noticed this was in the wrong board, but I wasn't sure how to change it.
I'm using ALM 15.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2021 01:04 AM
02-22-2021 01:04 AM
Re: Make field required based on BG_DETECTED_IN_RCYC AND BG_USER_02
ALM is part of a different company, Micro Focus. So you will need to repost your question to the Micro Focus Community at https://community.softwaregrp.com/
Thanks,
Parvez_Admin
I work for HPE
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]