AKMonkeyboy
IS-IT--Management
Here's a puzzler:
I have the code:
Me.EndDate.SelStart = 0
Me.EndDate.SelLength = 10
Set to run in the MouseUp event of the control. The control is unbound... interestingly when there's data in the bound form the code works swimmingly... however, if there are no records in the underlying table I get an error 2185 stating I can't reference a property or control for a method unless it has the focus...
Anyone come across this and conquered it?
Monkey
Give a man a fish, and you feed him for a day.
Teach a man to fish, and you feed
him for life.
Send a man to Tek-Tips and the poor sap can find out how to fish on his own, and learn more by doing it.
I have the code:
Me.EndDate.SelStart = 0
Me.EndDate.SelLength = 10
Set to run in the MouseUp event of the control. The control is unbound... interestingly when there's data in the bound form the code works swimmingly... however, if there are no records in the underlying table I get an error 2185 stating I can't reference a property or control for a method unless it has the focus...
Anyone come across this and conquered it?
Monkey
Give a man a fish, and you feed him for a day.
Teach a man to fish, and you feed
him for life.
Send a man to Tek-Tips and the poor sap can find out how to fish on his own, and learn more by doing it.