Re: date
- From: "Wilson" <wilson@xxxxxxxxxxxxx>
- Date: Sat, 15 Oct 2005 12:01:39 +1000
How to create a cursor object?
I dont have any VFP database. I am directly accessing table from Access
using connection string cnnSinaiRes (ODBC) as follows.
cSql = "SELECT agr_date FROM resident"
=SQLEXEC(cnnSinaiRes, cSql, "Resident")
"Christian Ehlscheid" <christian@xxxxxxxxx> wrote in message
news:%23FrSSqP0FHA.3568@xxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> if you're using a RemoteView you can force the type to date, the settings
> is
> somewhere hidden in the view designer under field properties.
>
> another option would be to use a cursoradapter and force the field to date
> by using it's "CursorSchema" property.
>
> Regards
> Christian
>
> "Wilson" <wilson@xxxxxxxxxxxxx> schrieb im Newsbeitrag
> news:434f3772$0$26571$afc38c87@xxxxxxxxxxxxxxxxxxxxxxx
>> Friends,
>>
>> I am usinng VFP8 and Access connecting using ODBC. Whenever a date field
>> (short date) is returned, it is in DATETIME() format. If I use format()
>> in
>> SQL command or TTOD() in VFP, then that field is not updatable. I also
>> played with format property and inputmask of the text box to hide time
>> portion. Nothing worked!
>>
>> My only intention is to hide the unwanted time portion displayed in the
> text
>> box while viewing or editing a date field.
>>
>> Any suggestions?
>>
>> Any
>>
>>
>
>
.
- Follow-Ups:
- Re: date
- From: Christian Ehlscheid
- Re: date
- Prev by Date: Re: date
- Next by Date: Re: Scheduled Tasks
- Previous by thread: Re: date
- Next by thread: Re: date
- Index(es):
Relevant Pages
|