I'm sorry for the long delay in replying.
* I create a button - do i have to name the button "shift1Friday"?
The button name isn't so important except to clarify which control you are working on when editor is open - without names, multiple buttons on one card can get very confusing.
The button value of 'Shift1Friday' could help you identify which button is which when your program is running.
I'm not sure about the layout of your program's screen and so the code I gave was just a rough example to help you get started.
* Do i need to create two fields on the card, and name them "field 1" and "field 2"? If so is there any code behind them?
The fields I used are just so can see if your code is producing the correct answers.
Usually when testing an idea I just make a card with a few buttons and fields to see if the code actually works. Then later put it into the actual project.
* So in the editor in the MainCode section i click CalcTotals on the left then input the second piece of code there? And the first piece of code goes into the button?
Yes, thats right. The MainCode section holds procedures that can be called from anywhere within your program. Where as if you placed the CalcTotals procedure inside the 'Shift1Friday' button it could only be called by the 'Shift1Friday' button.
As i said im brand new to this program, or any software programming
Thats great - the joys of learning programming - especially when it works - although often more interesting when it doesn't