Show users first name in a form label

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All

I've never done string manapulation so dont tknow the functions available
and any examples seem to be for Excel, and cant find anything on the web so
thought I would post here.

I'm using a function to get the full users logon name but I want to present
just the first name in a label control i.e.

Full Name = Joe Smith

I want the label to show 'Joe'

Can anyone help or point me to an url?
 
Use the split function to split the string with space, and get only the first
name


Me.LableName.Caption = split(FunctionNameThatReturnFullName," ")(0)
 
Ofer- Thanks, that is perfect.

Ofer said:
Use the split function to split the string with space, and get only the first
name


Me.LableName.Caption = split(FunctionNameThatReturnFullName," ")(0)
 

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

Back
Top