Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sql select problem
Message
 
 
To
05/08/2003 10:25:57
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00816857
Message ID:
00816862
Views:
22
Hi Gary,

There's ";" (semicilon) is missing at the end of the second line.
BTW, you don't need macro substitution in SQLEXEC()
= sqlexec(fics, sqlselect,'lender_office')
>I am trying to use the following code. Each time I run this code I get an error of unrecognized command or keyword. I must be looking at the problem but can't see it.
>
>Any help will be appreciated.
>sqlselect = "Select lender_offices.lend_offc_name, " + ;
>                    "lender_offices.lend_offc_identifier, "+
>                    "loan_mortgagor_info.loan_id "+;
>            "From loan_mortgagor_info, lender_offices " + ;
>           "Where loan_mortgagor_info.loan_id = "+sqlkey + ;
>       " and lender_offices.lend_id = loan_mortgagor_info.orig_lend_id " + ;
>   "and lender_offices.lend_offc_id = loan_mortgagor_info.orig_lend_offc_id" 		
>= sqlexec(fics,'&sqlselect','lender_office')
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform