Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Option Group Default not working in ACC 2013... Works in 2010

Status
Not open for further replies.

lameid

Programmer
Jan 31, 2001
4,207
US
This works in Access 2010 but not in Access 2013. I am using Tempvars's already set for a controls default values. The textboxes work great and only in 2013 does this not work for an option group. Using the Immediate window, a textbox has a default as expected on a new record and the relevant option group is null... I added the Cint in the hopes it was being glitchy with an implicit conversion but that did not work.

I'm trying to avoid setting it in code as this will mean there is a new record prematurely.

Any thoughts or ideas?

Default Value Property
Code:
=CInt(TempVars("Default_Layout"))
 
I got around to trying literals for the default value... they don't work either. So must be an Access 2013 bug that default values on Option Groups don't work. Minor annoyance in my case.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top