Your script has just two steps. Why would setting a variable to the value 1 or 0 (True or False) have any effect one what records appear on the ListProject layout?
One normally uses either a scripted find or Go To Related Records to pull up a specific group of records on another layout. GTRR requires a relationship that matches only to the records you want to see. A scripted find requires that you specify criteria--either build into the script or collected from data entered by the user to find the records you want to see.
Here's a thread with many examples of a scripted find: Scripted Find Examples
Thank you. I read the link and about global fields but I really don't understand them.
When you click that button, what exactly do you want to see take place on the screen?
I would like to have all projects that are scheduled from today's date forward. I also tried
5 days from today:
Set Field [YourTable::YourDateField ; Get ( CurrentDate ) + 5 ]
and that didn't work either.
What I see so far here does not look like the example script in the recommended thread.
From what I can tell, a script to find all projects scheduled "from today's date forward", would look something like this:
Go to Layout ["ListProject" (Project)]
Enter Find Mode 
Set Field [ Project::StartDate ; "<" & Get ( CurrentDate ) ]
Set Error Capture [on]
Perform Find 
You can also add a step to sort the records and you can add code that shows your own message if no records are found.
The above example is patterned after the scripted find examples that I recommended earlier.
When Setting up Set Field, there are two Specify buttons that must be clicked. To get Set Field [Table::Field ; Expression], add set field to your script and click the first button (specify target field). Select Table::Field from the list of fields. Do not click the specify button next to the repetition box. Click OK to close this dialog box. Now click the lower specify button (calculated result) and create the expression to the right of the semicolon (;). Do not try to type in the semicolon.
Thank you... I was clicking the wrong specify button. I did what you said and I still received an error message. I have attached a snapshot.
don't enter the ], like the ; that is supplied by manage scripts after you close the specify calculation dialog.
I am still getting error messages. I tried it with and without a bracket to start things.
Please follow these directions precisely:
When Setting up Set Field, there are two Specify buttons that must be clicked. To get Set Field [Project::StartDate ; ">" & Get ( CurrentDate) ], add set field to your script and click the first button (specify target field). Select Project::StartDate from the list of fields. Do not click the specify button next to the repetition box. Click OK to close this dialog box. Now click the lower specify button(calculated result) and create the ">" & Get ( CurrentDate) expression to the right of the semicolon (;). Do not try to type in the semicolon. Do not include the square brackets.
I am doing that.... You can see by the screen shot that I am using the lower specify button after using the first button to select the field.
You are not doing that. Look again.
Set Field [Project::StartDate ; ">" & Get ( CurrentDate) ]
In your screen shots, I should only see the text shown in Blue inside the Specify calculation dialog. What I see is both the red and blue text with the semi-colon left out. The red text is where this part of the instructions come in:
click the first button (specify target field). Select Project::StartDate from the list of fields.
I understand that you are saying that the red should automatically show up but that is not happening... also I am not clicking the specify button by repetition.
I have attached a screenshot.
The red text will not be in the specify calculation box ever. Only the blue text. Once you have selected StartDate from the list of fields and then entered the blue text into the specify field dialog box after clicking "calculated result", you'll see the two together in the script line in the script editor only after you click OK to close the Specify Calculation dialog box.
Thank you! I really appreciate your patience with me. It is working. :)
I am going to try it again on a few other things so I remember this exactly.