OVERVIEW PDF
I have created a PDF that gives an updated overview of the issue as well as a summary of the developments in the thread. The overview currently includes all posts up to:
page 3 post #1 [FONT=Arial,Arial Narrow][FONT=Arial,Arial Narrow](posted 07-03-2014, 02:45 PM)[/FONT]
[FONT=Arial,Arial Narrow][FONT=Arial,Arial Narrow]If this issue interests any reader they can now just read the overview PDF and then jump to the last post included in the overview to continue with the thread, thereby avoiding a lot of the redundancy and confusing complication. The PDF, though fairly concise, is still quite lengthy. I try and make it digestible for beginners. It does have the advantage of including images.[/FONT][/FONT]
[FONT=Arial,Arial Narrow][FONT=Arial,Arial Narrow]The PDF may be accessed at the end of this post.[/FONT][/FONT]
[FONT=Arial,Arial Narrow][FONT=Arial,Arial Narrow]The original first post begins after this point.[/FONT][/FONT][/FONT]
__________________________________________________
[FONT=Arial,Arial Narrow][FONT=Arial,Arial Narrow]THE ORIGINAL FIRST POST[/FONT][/FONT]
PROBLEM = How to auto populate one field based on entry of data into a second field.
MY EXPERIENCE LEVEL = intermediate beginner
BACKGROUND:
I like to rate records to facilitate accessing desired records. I’ve already included a rating function into my first Access database and I expect I will be including a rating function in many future databases I make—so I wouldn’t mind getting this right.
In my database I indicate rating using digits ranging from 0 to 10 (10 being the highest or most important and 0 being the lowest). I also supplement the numerical value with a visual representation in the form of a bar, similar to the idea of stars. I currently am placing the two variations, the numerical rating and the bar rating, into one field (cell). This rating field I have set up as a combo box with a drop down menu.
The rating pairs appear as follows:
10 O I I I I O I I I I O
09 O I I I I O I I I I
08 O I I I I O I I I
and so on down to . . .
02 O I I
01 O I
00 O
PROBLEM IN DETAIL:
I’ve been thinking that it might be better to separate these two variations of a rating value and put each into their own fields. I’m anticipating that when it comes to doing searches, in particular searches involving ranges of values, that doing a search on a field containing just a single numerical value will be easier.
I would also like to incorporate into this new set up of two rating fields, an auto populate feature. To facilitate the process of data entry I want to be able to enter a numerical value into the numerical ratings field whereby the bar ratings field will auto populate with the corresponding bar value. It is this auto populate feature that I will need help with.
In sum, the function I would like to set up is as follows:
I currently have little to no knowledge of VBA and SQL. If this auto populating maneuver I want to set up will require a macro I think I would like to construct as much of it as possible, if not all of it, using the expression builder. It seems that learning how to use the expression builder is a good early step.
On my end, responses with kindergarten simple and kindergarten clear explanations might be helpful, although I guess I can ask further questions if I don’t understand something.
Thank you to anyone who can help me with this.
I have created a PDF that gives an updated overview of the issue as well as a summary of the developments in the thread. The overview currently includes all posts up to:
page 3 post #1 [FONT=Arial,Arial Narrow][FONT=Arial,Arial Narrow](posted 07-03-2014, 02:45 PM)[/FONT]
[FONT=Arial,Arial Narrow][FONT=Arial,Arial Narrow]If this issue interests any reader they can now just read the overview PDF and then jump to the last post included in the overview to continue with the thread, thereby avoiding a lot of the redundancy and confusing complication. The PDF, though fairly concise, is still quite lengthy. I try and make it digestible for beginners. It does have the advantage of including images.[/FONT][/FONT]
[FONT=Arial,Arial Narrow][FONT=Arial,Arial Narrow]The PDF may be accessed at the end of this post.[/FONT][/FONT]
[FONT=Arial,Arial Narrow][FONT=Arial,Arial Narrow]The original first post begins after this point.[/FONT][/FONT][/FONT]
__________________________________________________
[FONT=Arial,Arial Narrow][FONT=Arial,Arial Narrow]THE ORIGINAL FIRST POST[/FONT][/FONT]
PROBLEM = How to auto populate one field based on entry of data into a second field.
MY EXPERIENCE LEVEL = intermediate beginner
BACKGROUND:
I like to rate records to facilitate accessing desired records. I’ve already included a rating function into my first Access database and I expect I will be including a rating function in many future databases I make—so I wouldn’t mind getting this right.
In my database I indicate rating using digits ranging from 0 to 10 (10 being the highest or most important and 0 being the lowest). I also supplement the numerical value with a visual representation in the form of a bar, similar to the idea of stars. I currently am placing the two variations, the numerical rating and the bar rating, into one field (cell). This rating field I have set up as a combo box with a drop down menu.
The rating pairs appear as follows:
10 O I I I I O I I I I O
09 O I I I I O I I I I
08 O I I I I O I I I
and so on down to . . .
02 O I I
01 O I
00 O
PROBLEM IN DETAIL:
I’ve been thinking that it might be better to separate these two variations of a rating value and put each into their own fields. I’m anticipating that when it comes to doing searches, in particular searches involving ranges of values, that doing a search on a field containing just a single numerical value will be easier.
I would also like to incorporate into this new set up of two rating fields, an auto populate feature. To facilitate the process of data entry I want to be able to enter a numerical value into the numerical ratings field whereby the bar ratings field will auto populate with the corresponding bar value. It is this auto populate feature that I will need help with.
In sum, the function I would like to set up is as follows:
field 1= numerical rating (eg. 0, 1, 2 etc)
field 2 = bar rating (eg. O, O I, O I I etc)
field 2 = bar rating (eg. O, O I, O I I etc)
1. in field 1, when you enter a numerical value ranging from 0 to 10 . . .
2. field 2 will auto populate with a corresponding bar value
3. for example when you enter 7 into field 1, field 2 will auto populate with O I I I I O I I
2. field 2 will auto populate with a corresponding bar value
3. for example when you enter 7 into field 1, field 2 will auto populate with O I I I I O I I
· I would probably want field 1 to be a combo box with a drop down menu, even if typing a digit might be easier. I know how to set up combo boxes.
· I hope that the auto populate function can be set up at the table level, although if it can’t be set up at table level then form level will do.
I am guessing that implementing this auto populate function will require setting up a macro. Will this require having a bunch of “if” statements to specify that “if such a value is entered here, then this value is entered there”? Would I have a separate table or tables listing the paired values which the macro would read, compare and then auto populate accordingly?· I hope that the auto populate function can be set up at the table level, although if it can’t be set up at table level then form level will do.
I currently have little to no knowledge of VBA and SQL. If this auto populating maneuver I want to set up will require a macro I think I would like to construct as much of it as possible, if not all of it, using the expression builder. It seems that learning how to use the expression builder is a good early step.
On my end, responses with kindergarten simple and kindergarten clear explanations might be helpful, although I guess I can ask further questions if I don’t understand something.
Thank you to anyone who can help me with this.
Attachments
Last edited: