Hi,
Thanks for the responses, I keep going back to the basics which I have read a couple of times now but as soon as I read it, it's like it goes in one ear and out the next. I have completed the led, button, potentiometer, stepper motor and servo tutorials. I can figure out the terminology as I go, I guess I just need to know if the way I am looking at it is logical and possible? I'ts all slowly starting to sink in now, bit by bit i think. I am probably running before I can walk but trying to create a sketch which furfills the whole requirement from the get go is directing me towards the correct questions to ask and hopefully help in getting the right answers.
I only need 3 buttons to set 3 states with about 5 Stepper motor variables like RPM, delay, map, Steps to take, etc. This is my Stepper motor loop below which works fine now within my other larger sketch. It just doesn't allow me to switch between the 3 states at the push of a button which is why I'm here 
This is how my sketch is seeing the buttons from startup.
const int RallyButton = 7; // Setting Button on button 0
const int RoadButton = 6; // Setting Button on button 1
const int TruckButton = 5; // Setting Button on button 2
boolean RallyState; // Setting Rally State
boolean RoadState; // Setting Road State
boolean TruckState; // Setting Truck State
int Setting = 0; // Default setting option, 0 Rally. 1 Road, 2 Truck
int Rally_prev;
int Rally_current;
int Road_prev;
int Road_current;
int Truck_prev;
int Truck_current;
void setup()
{
pinMode(RallyButton, INPUT); // set up button 0 as input
pinMode(RoadButton, INPUT); // set up button 1 as input
pinMode(TruckButton, INPUT); // set up button 2 as input
}
This is my Stepper motor loop, defining the characteristics of the Motor.
stepper.setSpeed(150);
val = map (val, 0, 1023, 0, 1023);
if ((val - frame) != 0) {
if ((val - frame) > 40) { // Deadzone
stepper.step(1); // move a step toward the pot reading.
frame++;
}
if ((val - frame) < -40) { // Deadzone
stepper.step(-1); // move a step toward the pot reading.
frame--;
}
}
So within this I have all the adjustable values i need for one of the 3 settings. I just need to be able to switch between them for each button selection. I will only press one button to change the setting once and then leave it at that until next power up. I just don't know how easy it is to take that block of code and assign a button to it? If I can do it in one, great. If I have to break it down into seperate parts then I will do so..
So looking at your code and adding the third button:
if(!digitalRead(Button1)){
setting = 1;
}
else if(!digitalRead(Button2)){
setting = 2;
}
else if(!digitalRead(Button3)){
setting = 3;
}
Where could I add my stepper block code. I feel like I can add it under the setting = # line but that seems like it would be too easy.
What if I were to add it like this? is this the correct road to go down?
if(!digitalRead(Button1)){
setting = 1;
stepper.setSpeed(150);
val = map (val, 0, 1023, 0, 1023);
if ((val - frame) != 0) {
if ((val - frame) > 40) { // Deadzone
stepper.step(1); // move a step toward the pot reading.
frame++;
}
if ((val - frame) < -40) { // Deadzone
stepper.step(-1); // move a step toward the pot reading.
frame--;
}
}
}
else if(!digitalRead(Button2)){
setting = 2;
stepper.setSpeed(150);
val = map (val, 0, 1023, 0, 1023);
if ((val - frame) != 0) {
if ((val - frame) > 40) { // Deadzone
stepper.step(1); // move a step toward the pot reading.
frame++;
}
if ((val - frame) < -40) { // Deadzone
stepper.step(-1); // move a step toward the pot reading.
frame--;
}
}
}
}
else if(!digitalRead(Button3)){
setting = 3;
stepper.setSpeed(150);
val = map (val, 0, 1023, 0, 1023);
if ((val - frame) != 0) {
if ((val - frame) > 40) { // Deadzone
stepper.step(1); // move a step toward the pot reading.
frame++;
}
if ((val - frame) < -40) { // Deadzone
stepper.step(-1); // move a step toward the pot reading.
frame--;
}
}
}
}
Thanks for your patience 
I did look into the array option but I only need to cover the few variables above so didn't look any further.
Thanks again for your help
J
This is my full code warts and all...
// 2 Pots, 3 Buttons, Stepper motor rotation control jason187781.
#include <Stepper.h>
#define STEPS 400
Stepper stepper(STEPS, 8, 9, 10, 11);
int frame = 0; // the initial position of the frame.
const int RallyButton = 7; // Setting Button on button 0
const int RoadButton = 6; // Setting Button on button 1
const int TruckButton = 5; // Setting Button on button 2
boolean RallyState; // Setting Rally State
boolean RoadState; // Setting Road State
boolean TruckState; // Setting Truck State
int Setting = 0; // 0 Rally. 1 Road, 2 Truck
int Rally_prev;
int Rally_current;
int Road_prev;
int Road_current;
int Truck_prev;
int Truck_current;
void setup()
{
pinMode(RallyButton, INPUT); // set up button 0 as input
pinMode(RoadButton, INPUT); // set up button 1 as input
pinMode(TruckButton, INPUT); // set up button 2 as input
// set the speed of the motor to 50 RPMs
stepper.setSpeed(150);
}
void loop()
{
int val = analogRead(0); // Wheel Postion Read
int frame = analogRead(1); // Frame Position Read
// Output the values to the serial port
Serial.print(val, DEC);
Serial.print(",");
Serial.print(frame, DEC);
Serial.print(",");
Serial.print(Setting, DEC);
Serial.println();
// check if the "Rally" button has been pressed
// if yes, then set then run "true" setup as below.
Rally_prev = Rally_current; Rally_current = digitalRead(RallyButton);
if (Rally_prev == LOW && Rally_current == HIGH) {
changeRallyButtonState();
}
if (RallyState == true)
Setting = 0;
// Stepper Motor Settings for Rally State.
val = map (val, 0, 1023, 0, 1023);
if ((val - frame) != 0) {
if ((val - frame) > 400) { // Deadzone
stepper.step(1); // move a step toward the pot reading.
frame++;
}
if ((val - frame) < -400) { // Deadzone
stepper.step(-1); // move a step toward the pot reading.
frame--;
}
}
// End of Rally settings state.
RallyState = false;
// check if the "Road" button has been pressed
// if yes, then set then run "true" setup as below.
Road_prev = Road_current; Road_current = digitalRead(RoadButton);
if (Road_prev == LOW && Road_current == HIGH) {
changeRoadButtonState();
}
if (RoadState == true)
Setting = 1;
// Stepper Motor Settings for Rally State.
val = map (val, 0, 1023, 150, 850);
if ((val - frame) != 0) {
if ((val - frame) > 100) { // Deadzone
stepper.step(1); // move a step toward the pot reading.
frame++;
}
if ((val - frame) < -100) { // Deadzone
stepper.step(-1); // move a step toward the pot reading.
frame--;
}
}
// End of Rally settings state.
RoadState = false;
// check if the "Truck" button has been pressed
// if yes, then set then run "true" setup as below.
Truck_prev = Truck_current; Truck_current = digitalRead(TruckButton);
if (Truck_prev == LOW && Truck_current == HIGH) {
changeTruckButtonState();
}
if (TruckState == true)
Setting = 2;
// Stepper Motor Settings for Rally State.
val = map (val, 0, 1023, 300, 800);
if ((val - frame) != 0) {
if ((val - frame) > 150) { // Deadzone
stepper.step(10); // move a step toward the pot reading.
frame++;
}
if ((val - frame) < -150) { // Deadzone
stepper.step(-10); // move a step toward the pot reading.
frame--;
}
}
// End of Rally settings state.
TruckState = false;
// ensures that Processing can read the values before the next values arrive
}
void changeRallyButtonState() // Rally button state logic
{
if (RallyState == true) {
RallyState = false;
}
else {
RallyState = true;
}
}
void changeRoadButtonState() // Road button state logic
{
if (RoadState == true) {
RoadState = false;
}
else {
RoadState = true;
}
}
void changeTruckButtonState() // Truck button state logic
{
if (TruckState == true) {
TruckState = false;
}
else {
TruckState = true;
}
}