Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Khalil Shaddad
  Where is Khalil Shaddad?
 Beirut
 Lebanon
 Khalil Shaddad
 To: Vijayendran
  Where is Vijayendran?
 Chennai
 India
 Vijayendran
 Tags
Subject: RE: Is there anyone to help?
Thread ID: 22360 Message ID: 22361 # Views: 27 # Ratings: 0
Version: Visual FoxPro 5 Category: General VFP Topics
Date: Wednesday, April 16, 2003 2:09:42 PM         
   


Hi,
There is one comma missing in your select statement. Change it to:
....
MSELE = " SELECT vendmast.vcode, Purorder.pono, Purorder.input, Purorder.instage, Purorder.output, Purorder.outstage, Purorder.poqty, Purorder.recdqty, Purorder.rejqty," && here is the missing comma at the end.
MSELE = MSELE + " Purorder.poqty - Purorder.mosissue + Purorder.rejqty AS BALQTY FROM gears!vendmast INNER JOIN gears!purorder"
MSELE = MSELE + " ON Vendmast.vcode = Purorder.vcode WHERE Release = 'Y' and Purorder.vcode = mvcode and vendmast.vtype = 'M' INTO CURSOR potab"

*&msele && if still having an such an error uncomment this line in order to execute your select statement.

THISFORM.PAGEFRAME1.PAGE1.GRID1.RECORDSOURCE = msele
THISFORM.PAGEFRAME1.PAGE1.GRID1.RECORDSOURCETYPE = 3

WITH THISFORM
etc...

if still you receive the error then try: &msel just after
Khalil Shaddad (Lebanon)

COMPLETE THREAD

Is there anyone to help? Posted by Vijayendran @ 4/16/2003 1:50:15 PM
RE: Is there anyone to help? Posted by Khalil Shaddad @ 4/16/2003 2:09:42 PM
RE: Is there anyone to help? Posted by Vijayendran @ 4/17/2003 7:47:03 AM
RE: Is there anyone to help? Posted by Vijayendran @ 4/17/2003 8:25:18 AM
RE: Is there anyone to help? Posted by Khalil Shaddad @ 4/17/2003 12:56:05 PM