Hi - I have 2 values in a field in my table: 100 and 200
100 = External User
200 = Internal User
I am calling up "active users" in a list box with this code:
SELECT [REAL_TIME] &" - " & [First_Name] & " " & [Last_Name]& " - " & [Login_ID] & " - " & [User_Access_Value] AS entryname FROM [dbo_v_ActiveUsers];
When it puts either 100 or 200 (in the User_Access_Value field) I want it to show the word Internal or External instead.
So the final product would be:
12:30pm - Tyler Ingersoll - tinger - Internal
instead of:
12:30pm - Tyler Ingersoll - tinger - 200
So, what code would I insert for it to convert 100 to EXTERNAL and 200 to INTERNAL ?
Thanks for your help in advance!
100 = External User
200 = Internal User
I am calling up "active users" in a list box with this code:
SELECT [REAL_TIME] &" - " & [First_Name] & " " & [Last_Name]& " - " & [Login_ID] & " - " & [User_Access_Value] AS entryname FROM [dbo_v_ActiveUsers];
When it puts either 100 or 200 (in the User_Access_Value field) I want it to show the word Internal or External instead.
So the final product would be:
12:30pm - Tyler Ingersoll - tinger - Internal
instead of:
12:30pm - Tyler Ingersoll - tinger - 200
So, what code would I insert for it to convert 100 to EXTERNAL and 200 to INTERNAL ?
Thanks for your help in advance!