>Thanks , works good !
>
>But , one more question .
>
>I make this Select ... Into Table in Load of my form .
>I need use this table in some procedures of my form , and not only in Load .
>So , lcTableName can´t be a local variable .
Use a form property for long-term storage. In Form.Load(), you will need to use a temporary variable - a property doesn't work well with macro substitution.
HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)