Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating datetime fields
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Updating datetime fields
Miscellaneous
Thread ID:
00570098
Message ID:
00570098
Views:
47
Hi Sergey,

I now trying to insert date time values with date time fields, I just can't make it work properly. Can you help me with this one. Thanks..

cEdtdt = ["] + Datetime() + ["]
cRegdt = ["] + Datetime() + ["]

cSQL = [INSERT INTO bbfs!dispatchinv(] +;
>>>>>>>[dcno,] +;
>>>>>>>[dispatchno,]+;
>>>>>>>[edtdt,] +;
>>>>>>>[regdt,] +;
[values( ] + Alltrim(Str(cDcno)) + [,] +; >>>>>>>>>>>+ Alltrim(Str(cDispatchno)) + [,] +;
>>>>>>>>>>>cEdtdt + [,] +; >>>>>>>>>>>cRegdt + [)]
Music Rocks www.musicreserve.blogspot.com
Success is 1% Inspiration & 99% Perspiration
God Sometimes Delays His Help to Test Our Faith and Energize Our Prayers
Our Boat May Be Tossed While He Sleeps, But He Wakes Up Before it Sinks.
Next
Reply
Map
View

Click here to load this message in the networking platform