Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Update record
Message
 
 
À
17/10/2001 21:55:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00569376
Message ID:
00570057
Vues:
24
Hi Mike,
See below,

>
>Here is the code that im having problem with. It's an insert sql command using the tips that you gave me in the update. The update command works but it does not work with the insert command. I think I have a logical error with this one for it does not generate any error.
>If Empty(.Entrydate)
>   cEntrydate = "NULL "
>Else
>   cEntrydate = [{] + Dtoc(.Entrydate) + [}]
>Endif
>
cSQL = [INSERT INTO bbfs!callinv( dcno, callrefno, entrydate) ] + ;
   [values("] + Alltrim(Str(cdcno))  + [","]  +;
            Alltrim(Str(cdcno))  + [",]  +;
		   	     + cEntrydate + [)]
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform