User Group

B

Bill

Hi,

I'm trying to figure it out how to split two Usergroups then enter either
Group A or Group B. Here I wrote but not too sure if I did the right thing.
Your help would be much appreciated.

If vUserGroupName = "Group A" then
If Me.NewRecord Then
If IsNull(Me![New]) Then
Me![UserGroup] = "Group A"
End if
End If


If vUserGroupName = "Group B" then
If Me.NewRecord Then
If IsNull(Me![New]) Then
Me![UserGroup] = "Group B"
End if
End If
 
T

TC

I think you will need to explain this more clearly.

- What is a "Usergroup"?

- What do you mean by "splitting" a Usergroup?

- What do you mean by "entering" Group A or Group B?

We can all read your code ok, but I (for one) do not understand what you are
actually trying to achieve.

HTH,
TC
 
B

Billy Yao [MSFT]

Hi Bill,

I am just checking on your progress regarding the information that was sent you. Can you specify what you
would like to achieve. Based on the code you provided, I can see that you'd like to set UserGroup to Group A
/Group B when the new record is created. However, we are not 100% sure what exactly you'd like to perform.

If you could explain more to us, we will be able to go ahead and answer if you did the right thing as you asked.
We are currently standing by for an update from you.

Thank you,

Billy Yao
Microsoft Online Support
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top