Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RDO and dates
Message
De
07/11/1997 09:28:02
 
 
À
Tous
Information générale
Forum:
Visual C++
Catégorie:
Autre
Titre:
RDO and dates
Divers
Thread ID:
00058859
Message ID:
00058859
Vues:
91
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!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform