dont worry i am using this medthod nw..
Option Explicit
Const ForReading = 1
Const ForWriting = 2
Const ForAppending = 8
' define csv files that will be read
Dim arrCSVFiles : arrCSVFiles = Array("c:\temp\csv_file1.csv", _
"c:\temp\csv_file2.csv", _...
Thanks
Thanks so i did this and getting errors..
Dim Append2TextFile
Dim Readfile
Append2TextFile Readfile("C:\Database\Zip\1_Header_Q.CSV"), FullPathNewFile
Append2TextFile Readfile("C:\Database\Zip\2_Records_Q.CSV"), FullPathNewFile
'Append2TextFile Split(ReadFile(FullPathCSV2), vbCrLf...
was looking for a better way as the bat file leaves " " at the end of the file or is there a way to have the 3 files created at the same time its 3 queries
The main form is called "View_Orders" it has a subform called "Orders" with one of the fields being called "ORDER_ACCOUNT_NO"
which form do i put the code Load Event?
Sorry yes thats correct still getting same error message
DoCmd.OpenForm "View_Orders", acNormal, , "[Order_Number]=" & Me![ORDER_ACCOUNT_NO]
think the issue is with the & Me![ORDER_ACCOUNT_NO] as this is not on the Order form is on the sub form called Picking
I have a form created called "View_Orders" it has a subform called "Order", I have added a button to open a new form but its not working getting error saying it cant find "ORDER_ACCOUNT_NO" referred to in your expressions. guessing its because the field is within the sub form
DoCmd.OpenForm...
Look for some help i need to have a query to delete the oldest record within the table by customer_ID
I have Customer_ID and then the field i want to use is the importing_Date
So need to delete oldest record for the same customer, however not all customers will have more than 1 record?