Can someone comment this thoroughly please - I'm a new admin picking up old code :(
500 easy ones.
if len(strjob)>62 then val=instr(strJob, " - ") if val > 2 then strJob=left(strJob, val-1) end if val=instr(strJob, "-") if val > 0 then if mid(strJob,1,val-2) = mid(strJob,val+2,len(strJob)) then strJob=mid(strJob,1,val-2) end if
Mid Function (Visual Basic)
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…