The fact that Access is calculating a difference rather than treating the
string as a string suggests that Access believes it is numeric, not text.
Try taking another look at all the places you may have defined or formatted
that information...
The table, naturally, but also in any forms, queries, ...
Regards
Jeff Boyce
Microsoft Office/Access MVP
>> Where did you try CStr()?
>>
[quoted text clipped - 47 lines]
> same result (except the difference). MsgBoxes show the part number
> but the form and table show/store the difference.
asc4john - 29 May 2007 22:52 GMT
> The fact that Access is calculating a difference rather than treating the
> string as a string suggests that Access believes it is numeric, not text.
[quoted text clipped - 65 lines]
>
> - Show quoted text -
The only add thing I can find is that text boxes placed in the form
header give format options, while text boxes in the detail section do
not give formatting options the drop-down is blank. Combo boxes in
the detail section do give formatting options.
There is no numeric use made of the part number field in the table,
forms or queries. I am using the above method on several combo boxes
and they work fine.
Jeff Boyce - 30 May 2007 00:01 GMT
Sorry, I'm fresh out of ideas.
On occasion, when a control or a form just doesn't "behave", I've been known
to delete it and start over. If none of your objects calls for a numeric
formatting/data type, then maybe Access is confused and you just need to
rebuild that portion...?
Good luck!
Regards
Jeff Boyce
Microsoft Office/Access MVP
>> The fact that Access is calculating a difference rather than treating the
>> string as a string suggests that Access believes it is numeric, not text.
[quoted text clipped - 74 lines]
> forms or queries. I am using the above method on several combo boxes
> and they work fine.
Fletcher - 30 May 2007 13:35 GMT
> Sorry, I'm fresh out of ideas.
>
[quoted text clipped - 94 lines]
>
> - Show quoted text -
I usually put quotation marks around numbers with hyphens. It works
for me.
Just a thought.
asc4john - 30 May 2007 14:00 GMT
> > Sorry, I'm fresh out of ideas.
>
[quoted text clipped - 104 lines]
>
> - Show quoted text -
Tried that but it adds quotation marke into the table and I can not
have that, as it causes problems elsewhere.
The whole thing is just odd.