Fund Manager
PORTFOLIO MANAGEMENT SOFTWARE
Contact Us

Importing Transaction Date Error

Questions about updating prices or transactions in Fund Manager

Postby gmow » Thu Feb 23, 2023 9:26 am

I get the following error
Error Importing Line:
Reason: Date was not found

Any suggestions? File is attached
Attachments
Feb 22 2023 v1.csv
(297 Bytes) Downloaded 143 times
gmow
 
Posts: 27
Joined: Wed May 01, 2019 7:27 am

Postby Mark » Thu Feb 23, 2023 9:51 am

Hi gmow,

Make sure you are using the format string:
ED,SYMB,TRAN,ANUM,BNUM,CNUM

Notice, the first line in your CSV file doesn't need to have the format string. The error message you're getting is telling you that it couldn't import that header line, but the rest of the lines will import if you use the above format string.
Thanks,
Mark
Fund Manager - Portfolio Management Software
Mark
Site Admin
 
Posts: 11576
Joined: Thu Oct 25, 2007 2:24 pm
Location: Chandler, AZ

Postby gmow » Thu Feb 23, 2023 11:34 am

Mark wrote:Hi gmow,

Make sure you are using the format string:
ED,SYMB,TRAN,ANUM,BNUM,CNUM

Notice, the first line in your CSV file doesn't need to have the format string. The error message you're getting is telling you that it couldn't import that header line, but the rest of the lines will import if you use the above format string.


Changed $ANUM to ANUM, removed the header line. Still getting

File to Import: c:\users\glm\onedrive\fund manager div import\feb 22 2023.csv
Input Format: ED,SYMB,TRAN,ANUM,BNUM,CNUM

Error Importing Line: 20210322,ARE.TO,DIST_D,0.18,0,0
Reason: Date was not found
gmow
 
Posts: 27
Joined: Wed May 01, 2019 7:27 am

Postby Mark » Thu Feb 23, 2023 2:13 pm

It looks correct, and it works okay here. I notice the filenames are a bit different. Are you sure you posted the exact same file you're importing?
Thanks,
Mark
Fund Manager - Portfolio Management Software
Mark
Site Admin
 
Posts: 11576
Joined: Thu Oct 25, 2007 2:24 pm
Location: Chandler, AZ

Postby gmow » Thu Feb 23, 2023 2:22 pm

Mark wrote:It looks correct, and it works okay here. I notice the filenames are a bit different. Are you sure you posted the exact same file you're importing?


File attached
Attachments
Feb 22 2023.csv
(30.12 KiB) Downloaded 132 times
gmow
 
Posts: 27
Joined: Wed May 01, 2019 7:27 am

Postby gmow » Thu Feb 23, 2023 2:24 pm

gmow wrote:
Mark wrote:It looks correct, and it works okay here. I notice the filenames are a bit different. Are you sure you posted the exact same file you're importing?


File attached


My date format in general preferences is M/D/Y

Could this be an issue?
gmow
 
Posts: 27
Joined: Wed May 01, 2019 7:27 am

Postby Mark » Thu Feb 23, 2023 2:50 pm

Hi gmow,

The issue is the CSV file is saved with UTF-8 BOM encoding, so there are 3 non-visible bytes at the beginning of the first line. If you re-save it with ASCII or plain UTF-8 (no BOM), that should correct it. I've done so, and attached your file here.
Attachments
Feb 22 2023_ascii.csv
File resaved with ASCII encoding
(30.12 KiB) Downloaded 126 times
Thanks,
Mark
Fund Manager - Portfolio Management Software
Mark
Site Admin
 
Posts: 11576
Joined: Thu Oct 25, 2007 2:24 pm
Location: Chandler, AZ

Postby gmow » Thu Feb 23, 2023 3:06 pm

Thank you, works perfectly
gmow
 
Posts: 27
Joined: Wed May 01, 2019 7:27 am


Return to Prices and Transactions

Who is online

Users browsing this forum: No registered users and 6 guests

FundManagerSoftware.com | Search | Site Map | About Us | Privacy Policy
Copyright © 1993-2024 Beiley Software, Inc. All rights reserved.