Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sql select problem
Message
 
 
À
05/08/2003 10:25:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00816857
Message ID:
00816862
Vues:
23
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform