Link to home
Start Free TrialLog in
Avatar of Frank Freese
Frank FreeseFlag for United States of America

asked on

PROBLEM with ACCESS 2016 and properties missing

Folks,
 
VBA provides a list of commands available for different objects and then the supporting properties for that command. For example, if I have this code:
TempID=Me.txtUserName and I am looking for the VALUE following the name here's what I get: TempID+Me.txtUserName. and VALUE does not show up.
However, if I type the word VALUE no problem. I don't understand what's going on.
Avatar of Neil Fleming
Neil Fleming
Flag of United Kingdom of Great Britain and Northern Ireland image

Can you post your code? The example you give is a little unclear.

When you say you "type the word value" in particular, not sure what you mean.
I am also a bit confused.
I guess that you want to make some concatenation
If this is the case then
Some variable = "VALUE : " & Me.txtUserName
Avatar of Frank Freese

ASKER

I had a feeling it would difficult to put this in words.
User generated imageWHAT I was expecting that one of my code options on the text control would be to set the focus on a control when the form opens. I found out that txtUSERName.SetFocus is not an option?
Folks,
Basically, what I trying to do is when a form loads, set the focus of a text control box. Forget everything I have sent to you, please.
I forgot to mention. The form is a POPUP style if that makes any difference?
ASKER CERTIFIED SOLUTION
Avatar of John Tsioumpris
John Tsioumpris
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
John,
I'm inclined to agree with you. I've done many times before but never experienced this problem. Thank for the sample and appreciate you hanging in there with me.
Frank