Desparately Seeking Fetch Help

Desparately Seeking Fetch Help

I am very new to this and attempting fetch the value of a formula to populate to populate a field on another form. This is the script:

PropPub1 = LUX_Enrollment[Street_Address == input.Prop1];
if(input.Prop1  ==  PropPub1.Street_Address)
{
    if(PropPub1.Pub1  ==  "")
    {
        PropPub1.Pub1=input.PubNameLPC;
        PropPub1.Pub1Cost=input.Insertion_Cost;
        PropPub1.PubIssue1=input.IssueLPC;
    }

My other fields work fine but the formula is exhausting me. The number fields are set as decimal...and I am losing sleep and my mind...I can't move forward without figuring out issue.  Can someone share their expertise?