So i have this to shorted the postcode, which is working as long as a postcode is provided within the field, how can i get around so i dont get the #ERROR would like it just to be left blank? please?
ShortPostcode: Left([PostCode],1) & IIf(Asc(Mid([PostCode],2,1))>=65,Mid([PostCode],2,1),"")
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