- Community Home
- >
- Welcome
- >
- Other HPE Product Questions
- >
- Defect buttons not working after Bug_FieldCanChang...
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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_AL
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
- Email to a Friend
- 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
- Email to a Friend
- 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_AL
I work for HPE
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP