RE: Changing Field Properties using queries
From: Ted Allen (TedAllen_at_discussions.microsoft.com)
Date: 12/07/04
- Next message: Ted Allen: "RE: calculate a new value from two values in the same field"
- Previous message: [SolarAngel]: "Re: Using GROUP BY in query expression on MEMO fields it truncates data in MEMO fields to first 255 characters"
- In reply to: stag246: "RE: Changing Field Properties using queries"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 7 Dec 2004 10:25:03 -0800
My pleasure, glad it helped.
"stag246" wrote:
> thanks ted that did the trick
>
> "Ted Allen" wrote:
>
> > Hi Jeremy,
> >
> > If you just want to coerce the value to a different data type on your end
> > (and not modify the ODBC connected table itself), you should be able to use
> > the CDate() function to return a date data type rather than text. Just enter:
> >
> > CDate([YourFieldName])
> >
> > as the field value in the query.
> >
> > HTH, Ted Allen
> >
> > "stag246" wrote:
> >
> > > I have a table which i am running a query from which is linked by ODBC. there
> > > are many fields in the table. I am pulling 6 of them out of this table using
> > > a query. Id, totime, fromtime, empID, earncode, distcode. The totime and
> > > fromtime are both have text properties. Is there a way to use a query to
> > > change those to a time/date property and put them in a table I would create
> > > locally to this DB?
> > >
> > > Thanks
> > >
> > > Jeremy
- Next message: Ted Allen: "RE: calculate a new value from two values in the same field"
- Previous message: [SolarAngel]: "Re: Using GROUP BY in query expression on MEMO fields it truncates data in MEMO fields to first 255 characters"
- In reply to: stag246: "RE: Changing Field Properties using queries"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|