Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert Into Command
Message
De
23/10/2001 15:39:27
 
 
À
23/10/2001 15:31:48
Information générale
Forum:
Microsoft Office
Catégorie:
Access
Divers
Thread ID:
00572148
Message ID:
00572269
Vues:
41
This message has been marked as a message which has helped to the initial question of the thread.
>still no luck...the exact code from my module are:
>
>
Dim mtxt2 as Date
>mtxt2 = Date
>
>DoCmd.RunSQL ("insert into labels (fld1, fld2, DATE) values (" & mtxt0 & ", '" & mtxt1 & "', #" & CStr(mtxt2) & "#)")
>
>[labels].[date] is type: Date/Time

I ran this code and it works fine, what's the error message you get?

As you have it, mtxt0 would be a numeric value in a string var, mtxt1 a string, and of course mtxt2 as date.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform