Check for text box control source (1 Viewer)

mcdhappy80

Registered User.
Local time
Today, 22:40
Joined
Jun 22, 2009
Messages
347
Can I check if the text box on the form has its control source missing?
If it can can someone provide a code sample please?
In which of the forms events could this be best done?
I was thinking forms Open event.
Thank You.
 

vbaInet

AWF VIP
Local time
Today, 21:40
Joined
Jan 22, 2010
Messages
26,374
The Open event correct. But in what situation will the Control Source of a textbox on a form be empty? Isn't that manually set when you designed the form?
 

RainLover

VIP From a land downunder
Local time
Tomorrow, 06:40
Joined
Jan 5, 2009
Messages
5,041
In design view of the form the Properties box will give you the Control Source.
 

vbaInet

AWF VIP
Local time
Today, 21:40
Joined
Jan 22, 2010
Messages
26,374
In design view of the form the Properties box will give you the Control Source.
Lol this user has been on here since 2009, I'm sure he/she knows a thing or thing about where to find the Control Source :D I've helped him/her out a few times.
 

RainLover

VIP From a land downunder
Local time
Tomorrow, 06:40
Joined
Jan 5, 2009
Messages
5,041
Understood but,

The OP did ask about a missing Control Source.

I can only read them as written.
 

vbaInet

AWF VIP
Local time
Today, 21:40
Joined
Jan 22, 2010
Messages
26,374
Fair play ;) but I seeing that it's in the Modules & VBA section I think they are looking for a way to check with code.
 

Users who are viewing this thread

Top Bottom