Solved

VB ODBC connection to Visual FoxPro

Posted on 2001-08-03
3
398 Views
Last Modified: 2010-05-02
I have linked to Visual FoxPro tables via an ODBC connection. reading tesxt and date fields from foxpro tables works well. Also iI am able to update text fields but an update to a date field fails.
format use in SQLExecDirect is

Update Invoices set invdate = #02/14/2001#

What is the correct syntax to update the Visual FoxPro date field?
0
Comment
Question by:chrisorion
3 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 50 total points
ID: 6349009
VFP uses the following syntax for a date :

{^yyyy-mm-dd}
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7198459
Hi chrisorion@devx,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept TimCottee's comment(s) as an answer.

chrisorion@devx, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.
==========
DanRollins -- EE database cleanup volunteer
0
 
LVL 5

Expert Comment

by:Netminder
ID: 7213228
Per recommendation, force-accepted.

Netminder
CS Moderator
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Help in WHSCRIPT 9 47
Validating VB6 Function 19 56
VB6 - Convert HH:MM into Decimal 8 51
vbModal 12 34
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now