Brian, > >By changing the type to 'Function', everytime you type "dtt(", it will be replaced with your date expression. > >HTH. > > >Wan > > >>Hi all, >> >>I'm trying to create an intellisense script to expand "dtt" to {^2002//} so that I can quickly type in date expressions. It works fine if dtt is the first thing I type, but if I try to use it when typing an expression, intellisense doesn't fire. >> >>foxcode info: >> >>