Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Having Trouble Incorporating.....

Status
Not open for further replies.

Yogi39

Technical User
Jun 20, 2001
273
CA
SELECT TOP 100 [M1].[mail], *
FROM M1
WHERE randomizer()=0
ORDER BY rnd(isnull([M1].[mail])*0+1);

Now want to add this.....

strSQL = "TransferText acExportDelim, , "top100", "D:\Documents
and Settings\Styles\Desktop\100.txt""
DoCmd.RunSQL strSQL
strSQL = "TransferText acExportDelim, , "top100", "D:\Documents and
Settings\Styles\Desktop\100.txt""
DoCmd.RunSQL strSQL;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top