Hi everyone,
I need to enable a button based on the count of attachments. If the attachment datacard is not in a form it works but I can't get the value from the datacard property when it's in the form. I'm using countrows - is there another way to achieve this?
That's awesome...and a better workaround than using OnChange (which didn't work with a person lookup).
Seems to work when editing an existing record by doing NewForm(), getting the record, then EditForm()...or, even easier, just set the form's DefaultMode property to FormMode.New.
I just received an email from Microsoft regarding my issue. They're still working on it....
You saved the day! Maybe this will help them. 😉
Agreed. It solves my issue but it's still going to be a problem.
Hi @DSFlemming ,
That does not really help the bug - it makes it worse. There are always needs to access form information in both Edit and View modes.
Just spoke to microsoft support, the FormMode must be New in order to access values in the form. I was testing my progress in Edit mode. I didn't realise the different modes would have that effect.
Always learning!
Hi @DSFlemming ,
On the OnSelect of the button outside the gallery.
Interesting. Just created a new project just incase there was something quirky in my current app but no change. Tried a different user - no change. Just have to wait I guess.
Where did you set the variable?
Hi @DSFlemming ,
There is something else strange here - I have duplicated this error before as you see from the post, however I just did the below
For what it's worth, you can't access a variable from inside the form either. I tried to update a counter when adding an attachment and nothing happens. It just stays at its initialised value.
This is seriously irritating. Is there any way to add an attachment to a list without a form?
Hi @DSFlemming ,
I think you are yet another victim of this bug