Jump to content

Web:Using Spcode1, 2, and 3 User-Defined Fields

From Prime 16 Online User's Manual
Revision as of 19:23, 20 September 2017 by Kempscas (talk | contribs) (Created page with "There are three fields that the user can decide how to use on Intake Page 2 of the Client intake form. They are labeled Spcode1, Spcode2 and Spcode3. They are unused fields r...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

There are three fields that the user can decide how to use on Intake Page 2 of the Client intake form.

They are labeled Spcode1, Spcode2 and Spcode3. They are unused fields reserved for your own use for whatever purpose you need them for.

This will explain the different ways these fields can be used.

For our example, we will assume you want to track information for a Sexual Assault grant. Our example for the field Spcode1, also applies to Spcode 2 and 3.

Using Spcode1 to store a value of your choice, is easy. However, there are several options that you can use that will make this field even more useful. You can set up the field to allow you to:

i) Type in a Value
ii) Choose a Value from a pull down, or
iii) Choose a Value from a pull down or type in a value if the list doesn’t give you what you want.

The steps we will follow to do this are simple. We will:

i) Show you how to shut off the pull down, or
ii) Modify the pull down values
iii) Limit the value entered to only choices on the pull down
iv) Set a default value if nothing is chosen
v) Change the label to say something more meaningful than Spcode 1.

The changes we make should be done on the Master copy of Prime Front End. Except for the changes to the values for the pull down, you will have to push out this change to all users.

Shut off the pull down if you don’t want to use the field as a pull down, you can change it so that it is a simple text field.

i) This would be useful for gathering information that will not follow a set list, but would vary case by case, such as the Mother’s phone number.
ii) To do this, go to the Navigation Pane on the left and open it up. Press F11 if you don’t see it. If it still doesn’t appear, contact your administrator, since they might have it turned it off.
iii) Type in inpClients into the Search box. If the Search box doesn’t appear, right click on the top of the Navigation Pane and choose Search Bar.
iv) Right click on inpClients when it shows up and choose Design view.
v) Go to the Intake Page 2 and right click on the data entry box next to Spcode 1.
vi) Pick Change To from the Combo Box that appears and select Text Box. This changes the field so that it will no longer function as a pull down.

Modify the Pull Down Values

i) If you decide to use the SPCode1 as a pull down, you will have to populate the field choices.
ii) Because these are stored in a table, populating the choices means putting values into a table. The values will then automatically show up on the pull down. You can do this directly by using the Navigation Pane or from the Menus
(a) From the Navigation Pane – Pull the Navigation Pane out from the left side of the screen or press F11.
(b) When it appears, type subSpcode1 into the Search box. (If no search box, right click and choose Search Bar to display it)
(c) If there are existing values in the table you could shut off the values so you don’t see them, but preserve them for future report writing. To do this, put a Zero (False) under the CurrentR value next to each row. This will hide the choices on the Client Intake but allow you to see what the old codes meant in the future.
(d) Erase the values that are currently in the table, assuming you don’t need them or they only say something like User definable field. Now type in the values you want. The first column is what is stored and the second column is a description. You can choose to store things as a code or as a full text. Let’s look at these two approaches:
(i) As a code – you would enter something like:
SAF                  Sexual Assault by Family Member
SAN                 No Sexual Assault
SAS                 Sexual Assault by Stranger
(ii) As full text you could enter this text and leave the second column blank:
Sex Assault by Family Member
No Sex Assault
Sex Assault by Stranger
iii) From the Menu – The steps are the same as above but you get to the table a different way.
(a) Go to the Ribbon Bar and Choose Admin, then Click on Setup Functions,
(b) Then Setup Tables.
(c) When you see the list, scroll down to
Clients – Spcode1               subSpcode1
and click on it. Then follow the above instructions.

Limit the Value Entered to Only Choices on the Pull Down

i) Assuming you are in the Admin Copy of Prime (or working with the master copy of the front end), open the inpClients form in the design mode.
ii) Go to page two and click on the entry block next to Spcode 1.
iii) If there is no Property Box open, Right click and choose Properties.
iv) If the Properties box is already open, just use that box.
v) Click on the Data tab. You can then go to the Limit to List and choose true if you only want to allow people to enter what is on the pull down.
vi) Leave it false to allow people to either choose the pull down OR type in anything they want.

Set a Default Value if Nothing is Chosen - You can also put a value in next to the Default property, such as SAN, and this is what will be saved on a new record if not changed.

Change the Label

i) If you want to make the user understand what the field is being used for, you should change the caption.
ii) Click on the caption next to the input box and type in Sexual Assault Type.
iii) The users will now have a better understating of what the field’s use is.
iv) However, you will have to use Spcode1 when writing a query, using the search screen or doing a report using the Criteria Screen.

Save your Changes - You now should save the changes to the inpClients form.

Then test it. If it works correctly you can then push it out to all users.