Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. articles. downloads. faq. members. files. rss.
 From: Tamar Granor
  Where is Tamar Granor?
 Elkins Park
 Pennsylvania - United States
 Tamar Granor
 To: Khurram Tahir
  Where is Khurram Tahir?
 Karachi
 Pakistan
 Khurram Tahir
Subject: RE: Sql Query
Thread ID: 96727 Message ID: 96825 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 Category: Databases, Tables and SQL Server
Date: Tuesday, May 23, 2006 10:57:30 PM         
   



> My deleted() setting is off as well as i am not using deleted() option in query


As GB has been trying to tell you, you can't use the DELETED() function in a query that has more than one table in the FROM clause. The problem is that VFP doesn't know which table you're referring to and you'll get different results at different times.

In general, when a query involves more than one table, never use any function that accepts an alias as one of its parameters.

Tamar

ENTIRE THREAD

Sql Query Posted by Khurram Tahir @ 5/23/2006 9:21:12 AM
RE: Sql Query Posted by GB @ 5/23/2006 10:30:44 AM
RE: Sql Query Posted by GB @ 5/23/2006 10:54:30 AM
RE: Sql Query Posted by Khurram Tahir @ 5/23/2006 11:51:04 AM
RE: Sql Query Posted by GB @ 5/23/2006 11:58:36 AM
RE: Sql Query Posted by Khurram Tahir @ 5/23/2006 12:09:33 PM
RE: Sql Query Posted by GB @ 5/23/2006 12:19:03 PM
RE: Sql Query Posted by Tamar Granor @ 5/23/2006 10:57:30 PM