Geez, i haven't seen xBase in ages! Are you dealing with it all the time now? I've done more xBase than everything else combined, so I'm still in the habit of typing "endif" instead of "end if", which VB doesn't like.