tag:blogger.com,1999:blog-7176045.post3949639941393370705..comments2008-02-11T12:58:56.281+03:00Comments on Alex & Access: Is field name valid?Alex Dybenkohttp://www.blogger.com/profile/16954512620659022712noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-7176045.post-5695821271598587202008-02-11T12:58:00.000+03:002008-02-11T12:58:00.000+03:002008-02-11T12:58:00.000+03:00Thanks!also tried to make it in one line, but have...Thanks!<BR/>also tried to make it in one line, but have not succeed. Cool!Alex Dybenkohttp://www.blogger.com/profile/16954512620659022712noreply@blogger.comtag:blogger.com,1999:blog-7176045.post-25150542384133023742008-02-10T23:56:00.000+03:002008-02-10T23:56:00.000+03:002008-02-10T23:56:00.000+03:00Hi Alex,just di it in one step:Function IsValidFie...Hi Alex,<BR/><BR/>just di it in one step:<BR/><BR/>Function IsValidFieldName2(strFieldName As String) As Boolean<BR/> <BR/> If Not strFieldName Like "*[!a-z,0-9,_]*" And _<BR/> Not strFieldName Like "#*" Then<BR/> IsValidFieldName2 = True<BR/> End If<BR/> <BR/>End Function<BR/><BR/>--<BR/>best regards<BR/>KNAnonymousnoreply@blogger.com