Can I use @Environment for a hide when

Posted on 2003-12-08
Medium Priority
Last Modified: 2013-12-18

I have a formula that runs in a button from a view

If the button has been pushed I would like to set a value in Evironment e.gYes, No, Y, N, 1, 0 or something

Then I would like to refresh the hidewhens and hide the button

I s this possible??
Question by:adspmo
  • 2
LVL 24

Accepted Solution

HemanthaKumar earned 1000 total points
ID: 9899680
It should ...
In hide-when enter this

@Environment("ENVVARNAME") = "Y"

LVL 24

Expert Comment

ID: 9899689
Where it doesn't work... Cannot be used in column or selection formulas; it's intended for use in field and form formulas, buttons, SmartIcons, and agents. Some formulas, such as scheduled agents, are run on the server instead of the user's workstation. In this case, the environment variables affected are the server's environment variables, not the workstation's.
LVL 31

Expert Comment

ID: 9900483
Sure can, that how we used to "fake" a tabbed table in 4.x

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
This video tutorial shows you the steps to go through to set up what I believe to be the best email app on the android platform to read Exchange mail.  Get the app on your phone: The first step is to make sure you have the Samsung Email app on your …
Hi, this video explains a free download that you can incorporate into your Access databases, or use stand-alone for contact management. Contacts -- Names, Addresses, Phone Numbers, eMail Addresses, Websites, Lists, Projects, Notes, Attachments…
Suggested Courses

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question