I’m re-designing an access 97 db to Access 2003 and adding a few changes. I’m using option buttons (But I’m not sure if these are the correct object boxes for what I’m trying to accomplish) on my form in Access 2003 to calculate a bid/estimate for possible customers. There are approximately 5-6 option buttons and each one will define a different part of a roof. Only one option button should be able, to be chosen at a time. (This is why I’m concerned that option buttons are not the right choice.) For instance Valley, Ridge, Hip are the names of some the option buttons. When the user makes his choice by selecting one of the option buttons he will need to input his numbers into 2 text boxes we’ll call these: text box 1 and text box 2, these two text boxes will be multiplied or added together for a total.
For example: Lets say option button (Ridge) is chosen, the user will enter his numbers into text box 1 and into text box 2. For instance: (text box 1 he enters 23) + (text box 2 he enters 10) and hits enter, when the user hits enter these values that were entered into text box1 and into text box 2 will need to show in another box (maybe) a list box we’ll call it (item details box) and added together for a total. For instance (23 + 10 = 33) this is what should show up in the (item details box). Let’s say the user enters more values into text box 1 and text box 2 with the Ridge option box still chosen. Lets say he enters (10 into text box 1) + (20 into text box 2) (10 + 20 = 30) is what should show up in the (item details box).
The item details box will show all the numbers of text box 1 and text box 2 and the total of the two, but it will only show the numbers for the option box that is chosen. This item details box will then have a total at the bottom of it that adds all the totals of each entry shown in it. For example:
23 + 10 = 33
10 + 20 = 30
Total = 63
After the user hits enter text box 1 and text box 2 will need to clear to either blank or zero waiting for another entry of numbers until the user has completed his input of numbers into the chosen option box in this case (Ridge). Then he will choose another option box and perform the same routine again.
Is access capable of performing this task? My big problem is how will the 2 text boxes, text box 1 and text box 2 that the user will be inputting the numbers into, be able to store/save these numbers into separate fields/columns, besides the fields/columns that they have as there control source? Unless there is a way to have the text boxes change there names each time the user hits enter and subsequently change their control source. Allowing them to save their numbers in a separate field/column with each entry. Is there any other type of box that will handle this function?
Also each time the user selects a different option button the two mentioned text boxes will subsequently have to change to a different control source one that is associated with the option button selected, And the numbers listed in the item details box will have to clear allowing new numbers to be stored, but not before storing/saving the total of these numbers in it.
I also have to consider how I’ll get the numbers to display in the other box called the item details box, after each entry. I was thinking maybe the Dlookup command would work for this function?
I’ve been reading about how to use careful planning. That is the intention of these questions.
I realize this is a lot of questions and quite a big project.
Thanks--Any help would be very much appreciated.
For example: Lets say option button (Ridge) is chosen, the user will enter his numbers into text box 1 and into text box 2. For instance: (text box 1 he enters 23) + (text box 2 he enters 10) and hits enter, when the user hits enter these values that were entered into text box1 and into text box 2 will need to show in another box (maybe) a list box we’ll call it (item details box) and added together for a total. For instance (23 + 10 = 33) this is what should show up in the (item details box). Let’s say the user enters more values into text box 1 and text box 2 with the Ridge option box still chosen. Lets say he enters (10 into text box 1) + (20 into text box 2) (10 + 20 = 30) is what should show up in the (item details box).
The item details box will show all the numbers of text box 1 and text box 2 and the total of the two, but it will only show the numbers for the option box that is chosen. This item details box will then have a total at the bottom of it that adds all the totals of each entry shown in it. For example:
23 + 10 = 33
10 + 20 = 30
Total = 63
After the user hits enter text box 1 and text box 2 will need to clear to either blank or zero waiting for another entry of numbers until the user has completed his input of numbers into the chosen option box in this case (Ridge). Then he will choose another option box and perform the same routine again.
Is access capable of performing this task? My big problem is how will the 2 text boxes, text box 1 and text box 2 that the user will be inputting the numbers into, be able to store/save these numbers into separate fields/columns, besides the fields/columns that they have as there control source? Unless there is a way to have the text boxes change there names each time the user hits enter and subsequently change their control source. Allowing them to save their numbers in a separate field/column with each entry. Is there any other type of box that will handle this function?
Also each time the user selects a different option button the two mentioned text boxes will subsequently have to change to a different control source one that is associated with the option button selected, And the numbers listed in the item details box will have to clear allowing new numbers to be stored, but not before storing/saving the total of these numbers in it.
I also have to consider how I’ll get the numbers to display in the other box called the item details box, after each entry. I was thinking maybe the Dlookup command would work for this function?
I’ve been reading about how to use careful planning. That is the intention of these questions.
I realize this is a lot of questions and quite a big project.
Thanks--Any help would be very much appreciated.