Hello everyone,<br><br>When i try to declare a CreateQueryDef statement in VBA in Access2000, Access2000 seems not to recognize my statement.<br><br>When i stand on the createquerydef statement and type "F1" access2000 doesn't find the statement when i type the question in the help itself then he finds the statement with an example.<br><br>When i copy and paste the example of that "CreateQueryDef" statement in my VBA code and try to compile Access2000 even then doesn't recognice the statement as a "legal" Access2000 command.<br><br>Is there anyone who regognize this problem or who knows the answer to this problem<br><br>with regards,<br><br>Warrior