I have asked about this question before this but no response. So I will try to ask again the question. I have this two buttons in form and I want to display those buttons in view. One button called "Close Active" and another one is "Close Draft".
So for button "Close Active", I want to show the button only in view with document status of "Active" and "Lock" while for button "Close Draft", I want to show the button only in view with document status of "Draft". I try using hide-when but it did not display.
For "Close Draft"
!(PStatus = "Draft")
For "Close Active"
(Pstatus != "Active" : "Lock")
I know how to hide-when this button in Lotus Notes, but I can't found any example of hide button for web. Any help I appreciated. Thanks!
So based on #RichardSchwartz suggestion, I fixed the problem after test it in Lotus Notes.
I just need to move exclamation sign to front like this:
!(PStatus = "Active" : "Lock");
Related
I have a gallery on power apps and each row is a different questions, to answer "yes, no" with a toggle. I am trying to have a submit button on the bottom of my page to send this gallery info to my share point, but I only want this button to appear if all the toggles were shifted. How do I enter all the toggles info in this button and not just the first one?
On the visible property on your button I would wrap your if Statement with the ForAll function.
This loops through all of the records of the gallery.
Not sure if this will work but worth a try.
When I select the ActiveX Control Option Button the entire border (box) becomes highlighted. Is there a way to fix this, perhaps change something in Properties, so when I select the button nothing is highlighted?
It is not clear what you mean by "select the button".
If you mean to click on it, have you tried setting the "TakeFocusOnClick" property to False?
Once you've set the property, click the DesignMode button to get out of Design Mode.
The original question is about a "control option button" which is presumably the Option Button. While the 'Command Button' has a TakeFocusOnClick attribute, the Option Button surprisingly does not. Neither does the Check Box.
This property does not appear on the Properties list on the worksheet in Design Mode or on the auto-complete list in the VBA editor, even though they will both take focus on click.
NOTE: ActiveX buttons are far more flexible than the stock "form controls" that appear at the top of the 'Insert' dropdown panel.
I have been told that there is a wizard that can control what my form (of the table ) opens when I click a button. For example, I enter 123 on my textbox on the main form and click "Go" button. So the frmtable should open up, but only shows the record where 123 is the ID field, that is, the primary key.
The Question:
Is there a wizard that can get this done, or is VBA needed? Any answer would be good, but I actually remember someone mentioning a wizard of that sort.
Thnx in advance.
Open a form using a Macro as referenced here. Set the Where condition in the Macro.
Or using VBA as referenced here:
DoCmd.OpenForm ("myForm", acNormal, , "[fieldname]=[FormControl]")
Checkout the links for more in depth information.
I have a new form with fields called Field 1,Field 2 and one button. On click of that button, dialog box will display with some radio buttons. here i want to pass the selected radio button values to Field 2.
How to achieve it?
Appreciate if anyone help me out.
In dialog box, it looks like below
Just name your dialog box's radio button field the same like your target field in form (Field 2 in your case) and make sure
you don't use [NOFIELDUPDATE] option in #DialogBox
parameter noFieldUpdate is not set to True in notesUIWorkspace .DialogBox().
How do I create a display of text, radio buttons and submit button in Visual Studio such that I can display my text to the user so that
The user cannot edit the text
The user's choice of radio button and the displayed question can be stored on clicking the button
(1) Simple: set enabled="false" for the control
&
(2) Store the information from the radio button into a session variable on btn submit click, I'm pretty sure you can edit the string you save