PC Review


Reply
Thread Tools Rate Thread

the value you entered isn't valid for this field

 
 
=?Utf-8?B?cGhpbGxpcDk=?=
Guest
Posts: n/a
 
      15th Jul 2005
Hello,

I get the error "the value you entered isn't valid for this field" when
entering some values into a combo-box field.

The combo-box has a query for the row source that returns a list of current
Property_id's and Property names. It is set to NOT limit to list. because I
have VBA code that searches for different variations on property_id's, some
are all numeric and some are alphanumeric.

There is a lot of code, so I don't think I should post it here, but the code
always works regardless of numeric or alphanumeric values. Even using a
value that sometimes generates the error, so I'm sure it is not in the code.
It's something with Access. If the problem happens, I close the form, reopen
the form, and type in the id again and it works.

The system works fine about 95% of the time. but sometimes when typing in
an alphanumeric property id I receive the error.

Something that seems to be part of the problem is that my query (see query
below) uses the more common numeric value as the bound column, this is
because all properties have the property_id, while 75% have the property_id
and another alphanumeric ID. (that's why I had to use all the VBA, The VBA
lets me search for either propertyID).


If you need me to explain more or have other questions, please ask.


thank you,

phil

[ query as row source for combo box set to NOT limit to list ]
SELECT DISTINCTROW active_property.property_id,
active_property.property_name_text, active_property.associated_fha_number
FROM active_property
ORDER BY active_property.property_name_text;




 
Reply With Quote
 
 
 
 
=?Utf-8?B?S0FSTCBERVdFWQ==?=
Guest
Posts: n/a
 
      18th Jul 2005
Check the table property of the bound column of the combobox. I think you
will find it is number and not text.

"phillip9" wrote:

> Hello,
>
> I get the error "the value you entered isn't valid for this field" when
> entering some values into a combo-box field.
>
> The combo-box has a query for the row source that returns a list of current
> Property_id's and Property names. It is set to NOT limit to list. because I
> have VBA code that searches for different variations on property_id's, some
> are all numeric and some are alphanumeric.
>
> There is a lot of code, so I don't think I should post it here, but the code
> always works regardless of numeric or alphanumeric values. Even using a
> value that sometimes generates the error, so I'm sure it is not in the code.
> It's something with Access. If the problem happens, I close the form, reopen
> the form, and type in the id again and it works.
>
> The system works fine about 95% of the time. but sometimes when typing in
> an alphanumeric property id I receive the error.
>
> Something that seems to be part of the problem is that my query (see query
> below) uses the more common numeric value as the bound column, this is
> because all properties have the property_id, while 75% have the property_id
> and another alphanumeric ID. (that's why I had to use all the VBA, The VBA
> lets me search for either propertyID).
>
>
> If you need me to explain more or have other questions, please ask.
>
>
> thank you,
>
> phil
>
> [ query as row source for combo box set to NOT limit to list ]
> SELECT DISTINCTROW active_property.property_id,
> active_property.property_name_text, active_property.associated_fha_number
> FROM active_property
> ORDER BY active_property.property_name_text;
>
>
>
>

 
Reply With Quote
 
 
 
 
=?Utf-8?B?cGhpbGxpcDk=?=
Guest
Posts: n/a
 
      18th Jul 2005
Hello,

Yes, it is linked to a numeric field in the table, but that is because all
the records have the numeric property_id, but some properties also have
additional id's that include alphanumeric id's. I linked to the numeric for
my bound column because that is the idea that is always available, but I use
the VBA code to allow the form to retreive the alphanumeric property ID's if
they are entered.

Knowing this, is there a way to still use this method and not receive the
error?

My thinking is to use the alphanumeric field as the bound column, but since
only about 50% of the properties have that id I'd have issue's with the
other's.


Thank you,

phil


That does give me a few ideas and helps a little

"KARL DEWEY" wrote:

> Check the table property of the bound column of the combobox. I think you
> will find it is number and not text.
>
> "phillip9" wrote:
>
> > Hello,
> >
> > I get the error "the value you entered isn't valid for this field" when
> > entering some values into a combo-box field.
> >
> > The combo-box has a query for the row source that returns a list of current
> > Property_id's and Property names. It is set to NOT limit to list. because I
> > have VBA code that searches for different variations on property_id's, some
> > are all numeric and some are alphanumeric.
> >
> > There is a lot of code, so I don't think I should post it here, but the code
> > always works regardless of numeric or alphanumeric values. Even using a
> > value that sometimes generates the error, so I'm sure it is not in the code.
> > It's something with Access. If the problem happens, I close the form, reopen
> > the form, and type in the id again and it works.
> >
> > The system works fine about 95% of the time. but sometimes when typing in
> > an alphanumeric property id I receive the error.
> >
> > Something that seems to be part of the problem is that my query (see query
> > below) uses the more common numeric value as the bound column, this is
> > because all properties have the property_id, while 75% have the property_id
> > and another alphanumeric ID. (that's why I had to use all the VBA, The VBA
> > lets me search for either propertyID).
> >
> >
> > If you need me to explain more or have other questions, please ask.
> >
> >
> > thank you,
> >
> > phil
> >
> > [ query as row source for combo box set to NOT limit to list ]
> > SELECT DISTINCTROW active_property.property_id,
> > active_property.property_name_text, active_property.associated_fha_number
> > FROM active_property
> > ORDER BY active_property.property_name_text;
> >
> >
> >
> >

 
Reply With Quote
 
=?Utf-8?B?cGhpbGxpcDk=?=
Guest
Posts: n/a
 
      19th Jul 2005
Hello everyone,

I found the answer. The way to allow my combo-box to be bound to the
numeric property id value and still use my VBA to find the alternate alpha
property id. It seems after doing some quick 2-minutes of testing , if I
turn off autoCorrect it works.

go to combo-box properties
OTHER tab
allow autocorrect - changed to NO

I hope this helps some other people.


Thank you,



"phillip9" wrote:

> Hello,
>
> I get the error "the value you entered isn't valid for this field" when
> entering some values into a combo-box field.
>
> The combo-box has a query for the row source that returns a list of current
> Property_id's and Property names. It is set to NOT limit to list. because I
> have VBA code that searches for different variations on property_id's, some
> are all numeric and some are alphanumeric.
>
> There is a lot of code, so I don't think I should post it here, but the code
> always works regardless of numeric or alphanumeric values. Even using a
> value that sometimes generates the error, so I'm sure it is not in the code.
> It's something with Access. If the problem happens, I close the form, reopen
> the form, and type in the id again and it works.
>
> The system works fine about 95% of the time. but sometimes when typing in
> an alphanumeric property id I receive the error.
>
> Something that seems to be part of the problem is that my query (see query
> below) uses the more common numeric value as the bound column, this is
> because all properties have the property_id, while 75% have the property_id
> and another alphanumeric ID. (that's why I had to use all the VBA, The VBA
> lets me search for either propertyID).
>
>
> If you need me to explain more or have other questions, please ask.
>
>
> thank you,
>
> phil
>
> [ query as row source for combo box set to NOT limit to list ]
> SELECT DISTINCTROW active_property.property_id,
> active_property.property_name_text, active_property.associated_fha_number
> FROM active_property
> ORDER BY active_property.property_name_text;
>
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Subform The value you entered isn't valid for this field abefuzzleduser2@yahoo.com Microsoft Access Forms 0 3rd Feb 2006 10:44 PM
What does "The value you entered isn't valid for this field" mean =?Utf-8?B?VmVlZGE=?= Microsoft Access Forms 1 12th Oct 2005 06:24 PM
The value you entered ins't valid for this field MWL Microsoft Access Forms 1 7th Feb 2004 03:56 AM
The value you entered isn't valid for this field Bill Microsoft Access Forms 1 24th Nov 2003 07:19 PM
Error message "The value you entered isn't valid for this field" Pat Microsoft Access Forms 1 28th Sep 2003 08:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:01 AM.