Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Update record
Message
 
 
To
17/10/2001 21:55:52
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00569376
Message ID:
00570057
Views:
25
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform