Today is my second day a attempting to create my first access database and am having a major issue:
I have two combo boxes in a form [Status] and [Time] each has four possible answers.
I want combine the answers selected in the combo boxes to decide the [Rating] to be given in a third box on the form - which will be linked to a table.
I have a experience with long excel IF formula but none with VBA.
I really want to avoid long nested If statement with multiple And OR conditions - and the syntax issues that come with them. I have been reading for hours about iif, switch and select statement.
An example of my thinking:
=IIf([Status]="Terrible","Extreme",IIf([Status]="Large" And [Time]="0-4","Extreme",IIf([Status]="Large" And [Time_Catagory]="4-8 hours","Extreme",[”Nope”])))
--- In the past, in Excel, I would have added more If statements and played with the syntax until the formula has worked.
However, I recently decided to try and teach myself Access (2010) and I some VBA so I could move away from multiple spreadsheets with large datasets and things like 7 deep nested if statements.
I am doing this for work and really can not burn much more time just googling and watching youtube to try and resolve this. My boss wants a result and will force me back to excel if I can deliver.
Any help or advice on this would be greatly appreciated. I really don't want to have to run back to Excel with my tail between my legs.
After just a couple of days looking at Access and Normalising I can see why it is time Work retired the multiple large spreadsheets and move to database solution.
In more general terms if there is a youtube series, site or book a newbie to Access 2010 should consume please also let me know.
Thank you in for taking the time to look at my problems and post I really do appreciate it.
I have two combo boxes in a form [Status] and [Time] each has four possible answers.
I want combine the answers selected in the combo boxes to decide the [Rating] to be given in a third box on the form - which will be linked to a table.
I have a experience with long excel IF formula but none with VBA.
I really want to avoid long nested If statement with multiple And OR conditions - and the syntax issues that come with them. I have been reading for hours about iif, switch and select statement.
An example of my thinking:
=IIf([Status]="Terrible","Extreme",IIf([Status]="Large" And [Time]="0-4","Extreme",IIf([Status]="Large" And [Time_Catagory]="4-8 hours","Extreme",[”Nope”])))
--- In the past, in Excel, I would have added more If statements and played with the syntax until the formula has worked.
However, I recently decided to try and teach myself Access (2010) and I some VBA so I could move away from multiple spreadsheets with large datasets and things like 7 deep nested if statements.
I am doing this for work and really can not burn much more time just googling and watching youtube to try and resolve this. My boss wants a result and will force me back to excel if I can deliver.
Any help or advice on this would be greatly appreciated. I really don't want to have to run back to Excel with my tail between my legs.
After just a couple of days looking at Access and Normalising I can see why it is time Work retired the multiple large spreadsheets and move to database solution.
In more general terms if there is a youtube series, site or book a newbie to Access 2010 should consume please also let me know.
Thank you in for taking the time to look at my problems and post I really do appreciate it.