Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sqlexec from vfp fails
Message
De
19/05/2016 12:38:53
 
 
À
19/05/2016 11:51:02
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01636625
Message ID:
01636633
Vues:
49
>thanks Naomi and Sergey.
>I will implement the error stuff but my simple code works now after the sql guy changed
> my permissions
>
>
>
I use this instead of SQLEXEC.
Pass the connection handle as the parameter.
PARAMETERS pn_connection
PRIVATE ln_result, la_errors, ll_return
ll_return = .T.
ln_result = SQLEXEC(pn_connection)
IF ln_result < 1
  ll_return = .F.
  = AERROR(la_errors)
  WAIT WINDOW "SQL Error: " + la_errors(3) 
ENDIF
RETURN ll_return
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform