Changing the Access date format

后端 未结 1 765
失恋的感觉
失恋的感觉 2021-01-23 11:29

In an Access form, I need to use the date output from a date picker field to be used to search for a file in a form. However, the default data format seems to only allow slashes

相关标签:
1条回答
  • 2021-01-23 12:02

    The Format Function will allow you to format the date as you wish.

    An expression to include the formatted date in a filename pattern could look like this ...

    "myfilename_" & Format(Me.myDate, "yy-mm-dd") & "*"
    
    0 讨论(0)
提交回复
热议问题