[AccessD] Access 2007/Vista weirdness

Stuart McLachlan stuart at lexacorp.com.pg
Wed Feb 13 21:16:26 CST 2008


I'd guess it is having difficulty deciding whether ShipQty refers to the 
TextBox or the Numeric Field. That's the problem with controls defaulting to 
the same name as their underlying data. Try renaming the textbaox.



On 13 Feb 2008 at 18:43, Doug Steele wrote:

> Hello All:
> 
> I have a client who is getting the error 'The setting you entered isn't
> valid for this property' on the following code:
> 
> Private Sub ShipQty_GotFocus()
>   ShipQty.SelLength = Len(ShipQty)
> End Sub
> 
> ShipQty is a bound textbox; the bound field is numeric and is never null.
> 
> This happens on two different machines with Windows Vista/Office 2007
> running a db in Access 2007 format.  His other machines running Windows XP,
> Access 2003 and the same database in Access 2003 format have no problem.  I
> have not been able to reproduce the problem in Access 2007 running under
> Windows XP.
> 
> Any comments would be appreciated...
> 
> Doug Steele
> -- 
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com





More information about the AccessD mailing list