Hi, I’m wanting to import data from a text file (which I can put in Excel if need be) but the Help on Notes tells me I need to create a format file (*.col) to do this - does anyone have a template that I can look at to base this on?
I tried doing it without the format file, but the fields get cut up and placed in the wrong sections etc.
Subject: Importing documents from word/excel - format file
here’s what I usually do. I’ve had the best success importing via spreadsheet. try this…
Create import file
-
put in excel
-
the first row needs to contain the variables for the form.
-
Save as Lotus 123
NOTE: make sure your columns are set to either text, date or number. Strange things can happen otherwise.
From Notes
-
open the database
-
Select import
-
Change filetype to Lotus 123
-
Select the file
-
On next dialog, select “Main Doc”
-
Select your form
-
select “Defined by WKS Title”
-
OPTIONALLY… select calculate on import
(select this if you have formulas on your
form or have stuff in postrecalc event,
etc.)
There are other ways, i’ve had the most success going this routine.
Good luck.
Subject: RE: Importing documents from word/excel - format file
Thanks, works well. I gather I need not worry about *.col documents then??
Subject: RE: Importing documents from word/excel - format file
Actually, I spoke to soon I fear. One of my fields is long text and saving as 123 is cutting off after, I gather, 256 characters.
Is there a workaround?