transfer data access - txt 
Author Message
 transfer data access - txt

I have an error that ACCESS couldnt excute this comand.
Whats wrong is here?
Thanks

Private Sub Command1_Click()
 Text1.LinkTopic = "MSACCESS|test.mdb;TABLE ngMoneyFilScr"
      Dim cmd As String
      cmd = "[DoCmd.TransferText ,,ngMoneyFilScr,my.txt]"
      Text1.LinkMode = 2    
      Text1.LinkItem = "All"
      Text1.LinkExecute cmd
      Text1.LinkMode = 0    
End Sub



Tue, 18 May 2004 10:38:19 GMT  
 transfer data access - txt
Hi,

Private Sub Command1_Click()
 Text1.LinkTopic = "MSACCESS|test.mdb;TABLE ngMoneyFilScr"
      Dim cmd As String
      cmd = "[TransferText 2,,'ngMoneyFilScr','c:\my.txt']"
      Text1.LinkMode = 2    
      Text1.LinkItem = "All"
      Text1.LinkExecute cmd
      Text1.LinkMode = 0    
End Sub

Or you can make a macro first and then call the macro in VB

    Text1.LinkExecute "macro1"

Regards,
Steve

This posting is provided ?AS IS?, with no warranties, and confers no
rights.



Fri, 21 May 2004 20:15:32 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Transfer data to txt

2. transfer .txt to my existing table in Ms Access

3. Transferring data from Access from to http-form

4. Access and Electronic Data Transfer

5. Flexible Data Transfer Tool for Access Applications

6. Coding Data Transfer from Access to Excel (Office 95)

7. data transfer from word form to ms access db

8. Transfer Data From Excel To Access With ?

9. Monitoring Data Transfer of Internet Transfer Contol

10. Can I use an SQL action query to transfer data between DIFFERENT Access .mdb files

11. Transfer data from Outlook folder tot Access database

12. Transfer data from SQL server to Access

 

 
Powered by phpBB® Forum Software