Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADO, Date & String conversion
Message
From
14/08/2000 18:52:14
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00404514
Message ID:
00404760
Views:
14
>Hej Peter..
>
>The VFP view you refer to - is it a local view or a remote view? If it is a remote view, where is your data ultimately stored?
>
>I just tested this with pure VFP data. The field remains a character type.
>
>Let's break this down step by step...

Hej John,

What´s this hej stuff, are you one of the natives?
With a name like Petersen at least the ancestry seems a foregone conclusion...

Anyway, it´s a local view, and the stuff ultimately ends up in an Excel sheet, but the whole thing seems to go haywire already at the ADO level.

I did not write the VB code and I don´t know a lot about ADO, but my view contains something like this:

SET DATE ANSI
SELECT Db.This, Db.That, Db.The_Other, DTOC(Db.Date) AS Date FROM DB

Somehow ADO (or whatever) seems to recognize the Date field as a DATE type.

That´s it.
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform