Hi everyone,
Firstly excuse my awful vba knowledge and I am learning (slowly) but I am wanting to create a function ( I think a str).
I have created a form which displays species of plants (the database is for a gardening centre). I have created a separate textbox called 'advice'. Now I am wanting to create a function called stradvice which will give advice about a few plant species:
For plants with a lifespan of one year the advice would be 'beware of night frost' and for those plants with a lifespan of two years 'water regularly'.
I am unsure how to proceed, I am thinking a string of IIF statements would suffice?!? Any help would be appreciated- thankyou.
Firstly excuse my awful vba knowledge and I am learning (slowly) but I am wanting to create a function ( I think a str).
I have created a form which displays species of plants (the database is for a gardening centre). I have created a separate textbox called 'advice'. Now I am wanting to create a function called stradvice which will give advice about a few plant species:
For plants with a lifespan of one year the advice would be 'beware of night frost' and for those plants with a lifespan of two years 'water regularly'.
I am unsure how to proceed, I am thinking a string of IIF statements would suffice?!? Any help would be appreciated- thankyou.