Hi i could use a little help and i'm totally stuck. I'm trying to write a trigger to update a custom field on my Account object when a update is made on a field in my custom object. The object is linked in a child - parent relationship by the account name.

Updated with code from prior comment:

```
trigger Acct_UpdateCreditApprv on Credit_Request__c (before insert, before update) { 
    for(Credit_Request__c : Trigger.new) { 
        Account A= [AccountName__c From Credit_Request__c Where Approved__c = true]; 
        Credit_Request__c.Reefer_Approved__c = Account.Approved__c;    
        account.Credit_Request_Approved__c = true;
    } 
} 

```