You helped me so much on my "easier" question; let's give you a slightly tougher (& longer - sorry) one!
I have a "little" Db with some personnel info for when we reset passwords in Novell (it's used to verify SSNs). The data fields consist of (properly named!) first name, last name, middle initial, ssn, phone, ext, & county.
I have the main form set for the user to type in the first & last name of the person, then click on Search. The Search button opens a report with that person's info. Here's what I want to add: a field called Novell Logon ID that formats their name according to the standard for the District the
person is in. Unfortunately, there is not a standard for the state, so I'm guessing it'll take a bunch of If-Then statements? I have the list of which counties are in which district, so I can format the ID based on the county
field.
There are several Districts that use the same format, so I'm thinking there must be something akin to If-Or-Or-Then?
Here's an example in "English":
If the County = 02 then the field called NovellLogonID = lastname-firstname all in lower case letters.
There are a few Districts that have several variations within them, so I'll just want to return a text message in the ID field that says something about there not being a standard for that District.
Does this make sense?! VBA is not my strenght - it's been "learn as you go" - no formal training in the codes, but I do understand the concepts.
Thanks again!
I have a "little" Db with some personnel info for when we reset passwords in Novell (it's used to verify SSNs). The data fields consist of (properly named!) first name, last name, middle initial, ssn, phone, ext, & county.
I have the main form set for the user to type in the first & last name of the person, then click on Search. The Search button opens a report with that person's info. Here's what I want to add: a field called Novell Logon ID that formats their name according to the standard for the District the
person is in. Unfortunately, there is not a standard for the state, so I'm guessing it'll take a bunch of If-Then statements? I have the list of which counties are in which district, so I can format the ID based on the county
field.
There are several Districts that use the same format, so I'm thinking there must be something akin to If-Or-Or-Then?
Here's an example in "English":
If the County = 02 then the field called NovellLogonID = lastname-firstname all in lower case letters.
There are a few Districts that have several variations within them, so I'll just want to return a text message in the ID field that says something about there not being a standard for that District.
Does this make sense?! VBA is not my strenght - it's been "learn as you go" - no formal training in the codes, but I do understand the concepts.
Thanks again!