Search found 15 matches

by gdavies
Fri Oct 08, 2021 11:50 am
Forum: PowerShell
Topic: Converting ComboBox value to new value
Replies: 6
Views: 4724

Re: Converting ComboBox value to new value

I found a way around the problem, it doesn't answer what I was asking but at least I can now move on. Again, I was not asking anybody to provide a solution I was asking for advice on what method I could use. People tend to ask questions because they simply don't know, coming back with a scolding for...
by gdavies
Fri Oct 08, 2021 6:12 am
Forum: PowerShell
Topic: Converting ComboBox value to new value
Replies: 6
Views: 4724

Re: Converting ComboBox value to new value

I know this forum is not for ready made solutions to be provided and I'm not asking anybody to design a solution, I am asking how to do a specific thing, as in take the value selected from a list of values and use this to populate another attribute with a different value. I have the rest of the scri...
by gdavies
Thu Oct 07, 2021 1:53 pm
Forum: PowerShell
Topic: Converting ComboBox value to new value
Replies: 6
Views: 4724

Re: Converting ComboBox value to new value

I should add, the previous iteration of the form had a button for each location which ran it's own dedicated script which contained the description field value, I am trying to streamline the form so there is a single button, the previous list of 10 buttons being replaced with a combobox containing t...
by gdavies
Thu Oct 07, 2021 11:24 am
Forum: PowerShell
Topic: Converting ComboBox value to new value
Replies: 6
Views: 4724

Converting ComboBox value to new value

I have a form used to create new user accounts in AD. We have multiple locations, each with their own OU and user accounts are created in the OU for the location they are based in. A standing requirement is the description attribute contains an abbreviation of their location followed by - <preformat...
by gdavies
Thu Oct 07, 2021 11:11 am
Forum: PowerShell
Topic: Combobox question
Replies: 6
Views: 4027

Re: Combobox question

Thank you, that did the job. I was not aware using -1 would add the blank line.
by gdavies
Wed Oct 06, 2021 9:05 am
Forum: PowerShell
Topic: Combobox question
Replies: 6
Views: 4027

Re: Combobox question

Thank you, the code you provided worked in my new form, I still need to work out how to set the combobox to have a blank line at the top without adding the comma but I'll see what I can find as I work through creating a new form.
Thanks
by gdavies
Wed Oct 06, 2021 8:05 am
Forum: PowerShell
Topic: Combobox question
Replies: 6
Views: 4027

Re: Combobox question

This did work, and I actually found an old version that it still works on, the code in use is what I posted. Your comment about the line adding a comma doing nothing, I am taking it you mean this line $secgroups1 = ," " + $secgroups1 It actually does serve a purpose, it adds a blank line t...
by gdavies
Wed Oct 06, 2021 7:09 am
Forum: PowerShell
Topic: Combobox question
Replies: 6
Views: 4027

Combobox question

I created a form using an old version of Primal Forms CE, it all worked fine until recently when my comboboxes started to display no values. I decided to move to Powershell Studio and created a test form, I get the same blank combobox, what am I doing wrong? The code in my original form: $handler_fo...
by gdavies
Tue Oct 05, 2021 9:29 am
Forum: Former and Future Customers - Questions
Topic: Deployment issues
Replies: 3
Views: 13986

Re: Deployment issues

This is a new form, just created using Powershell Studio 2021, it is not an old one imported from Primal Forms so I don't see how this resolves the issue. Surely the app saves in a form it can use rather than making me save, convert and export something I just created in the app.
by gdavies
Mon Oct 04, 2021 2:13 pm
Forum: Former and Future Customers - Questions
Topic: Deployment issues
Replies: 3
Views: 13986

Deployment issues

To help you better we need some information from you. *** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. *** Product, version and build: Powershell Studio ...