Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date Manipulation Question: FoxPro DTS SQL Server

Status
Not open for further replies.

pzmgmb

Programmer
Apr 2, 2003
115
US
I am setting up a DTS package that will pull records from a FoxPro free table directory and import them into a SQL Server 7.0 database. However I have a query that I want to use to specify which data to pull over. I want to be able to pull only the data for the last week. From what I have learned so far the SQL is based on FoxPro because that is what the source is.

What I need to know is how to manipulate dates in foxpro. In VB or SQL Server I could say something simple like: Between Date()-7 and Date(). But In FoxPro this doesnt work and I cant seem to find the right FoxPro syntax.

Can anyone help?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top