Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert Into Command
Message
From
23/10/2001 13:11:15
 
 
To
All
General information
Forum:
Microsoft Office
Category:
Access
Title:
Insert Into Command
Miscellaneous
Thread ID:
00572148
Message ID:
00572148
Views:
74
What is the syntax for inserting a memory variable dimmed as Date into a table.
For example:

Number = " & numvar & "
Text = '" & textvar & "'
Date = ????

My statement is similar to the following:
Dim mvar1 as Integer
Dim mvar2 as String
Dim mvar3 as Date

mvar1 = Me!text1.value        (Number of Cycles)
mvar2 = Me!text2.value        (Part #)
mvar3 = Me!text3.value        (Production Date)

Insert into mytable(fld1, fld2, fld3) values(" & mvar1 & ", '" & mvar2 "', ????
Any help would be appreciated
Here's to alcohol...the cause of ... and solution to ... all of life's problems - - Homer J. Simpson
Next
Reply
Map
View

Click here to load this message in the networking platform