Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RDO and dates
Message
From
07/11/1997 09:28:02
 
 
To
All
General information
Forum:
Visual C++
Category:
Other
Title:
RDO and dates
Miscellaneous
Thread ID:
00058859
Message ID:
00058859
Views:
86
I ran up into a problem.
In a rdoResultset, i'm trying to add a new record.
Example code:

with rstemp
.rdcolumns(1).value = field(1).text
.rdcolumns(2).value = field(2).text
end with

the field 2 in the db is a date type kind of one.
when i do .batchupdate, so it writes the changes to the database, i get a error, saying error in SQL statement, while doing INSERT INTO.
I tried formatting the date value all possible ways, but i still get the error.
How can I format the date value in field(2).text, so it will pass the sql insert into statement?

Thanx to anyone who can answer this!
Next
Reply
Map
View

Click here to load this message in the networking platform