开发者

number signs in AdoTable.Filter

开发者 https://www.devze.com 2023-01-11 19:48 出处:网络
AdoTable1.Filter:= \'Date = #\'+FormatDateTime(\'dd/mm/yyyy\', Tomo开发者_如何学JAVArrow)+ \' #\' ;

AdoTable1.Filter:= 'Date = #'+FormatDateTime('dd/mm/yyyy', Tomo开发者_如何学JAVArrow)+ ' #' ;

Why is Date surrounded with number signs?? Is this Access -specific??

thanks in advance!


DrStrangeLove, the # sign (hash-marks) is the delimiter for a date field in access, you can check this paper for more info about delimiters in Access.

Access Basics for Programming: Delimiters

0

精彩评论

暂无评论...
验证码 换一张
取 消