Thanks Carl - that should get me going on the VFP part of it.
Does anyone know a better way of accessing VFP9 data with Crystal 11 than using the VFP ODBC - it has an issue with blank dates.
thanks
Main Topics
Browse All TopicsI see an older thread with this title - however the links mentioned are no longer active.
I have been using the VFP ODBC drivers and would like to use the OLE stuff - but I don't know where to start?
Also - I use Crystal Report via the VFP9 ODBC - can I access Crystal with a better interface?
thank
bill
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Each field type has an initial value (in the absence of a default value). This value tests "empty".
It is not really empty. That is what NULL is for.
The initial values are:
Number - 0
Logical - .F.
Character - all blank
Date - 12/30/1899
etc.
The "proper" solution is to redefine the date field(s) as DATE NULL DEFAULT NULL.
Only then will a new row have the date field(s) initialized as null.
If you do this to a table with rows with "empty" dates then
REPLACE datefield WITH null FOR EMPTY(datefield)
PRB: Error 3162 Setting FoxPro Date Field to Null
http://support.microsoft.c
Business Accounts
Answer for Membership
by: CarlWarnerPosted on 2008-06-08 at 15:52:21ID: 21739911
The older ODBC driver for VFP from MS only truly supports the features and data types as of VFP6. If you want to access data in a newer version of VFP, you may have no good choice but to go on to the OLE DB Provider for VFP. [There is an ODBC driver from Advantage Server that gets to VFP9 data, but the driver has a limited feature set.] The OLE DB Provider is treated more like a DSN-less ODBC connection in that no prior setup is required and you just define or recall a previously used connection string.
ownloads/d etails.asp x? FamilyID =e1a87d8f- 2d58-491f- a0fa-95a32 89c5fd4&Di splayLang= en
t/Default. aspx? tabid =87#OLEDBP roviderFor VisualFoxP ro
The OLE DB Provider for VFP is here (dated May 16, 2008):
Microsoft OLE DB Provider for Visual FoxPro (through) 9.0
http://www.microsoft.com/d
A connection string sample is here:
OLE DB Provider for Visual FoxPro
http://www.carlprothman.ne