Convert Date into string

S

Stever

I need to convert a field that is a date into a string so I can replace the
/ with a . for use as a folder name. Here is what I have so far. Obviously I
get an error when I try to assign the date field to a string variable.

Dim TestDate1 As string
Dim TestDate2 As String

TestDate1 = Me.DRAWING_DATE
TestDate2 = Replace(TestDate1, "/", ".")

Thanks in advance for any suggestions you may have

Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top