"Bob Lehmann" <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> <<<<
> How the heck are you supposed to query a table like that?
> >>>>
>
> Design the DB correctly to begin with? :>)
>
> Fieldnames should never contain anything but alpha-numeric values & the
> underscore character. Even the numeric can be dicey.
Trust me! If I had any say so, there'd be quite a few differences!

I can safely wash my hands of any responsibility in that department.
> However, since you can't unshoot the gun, wrap the field name in [] -
> [Part#] - in your queries.
Thanks Bob!
> Bob Lehmann
>
> "CSharpner" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > I'm using DB2 for my database server. I'm trying to configure a
> > DataAtapter, but after selecting the fields I need, I get the error,
> > "unable to parse query text". I know that the cause is a field name
> > with the # (pound character) in the name, like "Part#".
> >
> > Changing the field name is, unfortunately, not an option. How the
> > heck are you supposed to query a table like that?
> >
> > TIA