Re: date and datetime
From: Anders (anders_at_anders)
Date: 04/13/04
- Previous message: Igor Korolyov: "Re: corrupted tabels."
- Next in thread: AK: "Re: date and datetime"
- Maybe reply: AK: "Re: date and datetime"
- Maybe reply: Anders: "Re: date and datetime"
- Maybe reply: Mike Pratt: "Re: date and datetime"
- Maybe reply: M A Chowdhury: "Re: date and datetime"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 13 Apr 2004 00:19:26 -0700
The DBSETPROP function for a remote view allows you to specify a different
data type
DbSetProp('myview.datecolumn', 'Field', 'DataType','D')
-Anders
"Wilson Thomas" <wilson@indomel.com> skrev i meddelandet
news:407b8b5e$0$28242$afc38c87@news.optusnet.com.au...
> Friends,
>
>
>
> I am working with VFP6 on Access 2000 database. In Access I have created a
> table with a 'date/time' field and format set as "short date". In access
it
> displays as date only, not date/time (E.g., 01/01/2004). That's fine.
>
>
>
> But when I connect from VFP using DSN, it returns the value as date/time.
> I.e., as "01/01/2004 00:00:00". The SQL I used is "SELECT * FROM <table
> name>"
>
>
>
> I need the returned values displayed as "date" not "date/time".
>
> In the form I tried with input mask as "99/99/9999" and format as "D", but
> no use.
>
>
>
> Any solution?
>
>
>
> Thanks in advance
>
>
>
> Wilson
>
>
- Previous message: Igor Korolyov: "Re: corrupted tabels."
- Next in thread: AK: "Re: date and datetime"
- Maybe reply: AK: "Re: date and datetime"
- Maybe reply: Anders: "Re: date and datetime"
- Maybe reply: Mike Pratt: "Re: date and datetime"
- Maybe reply: M A Chowdhury: "Re: date and datetime"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|