Stock File - Importing/Exporting Data

Make comments, ask questions, or just complain about the software on this site. Or comment on any educational software.
Please note that by clicking on links that may appear in these posts that you may be leaving the Dale Harris Educational Software website and that the content of those sites is the sole resposibility of the authors of those sites.

Moderators:daleadmin, Dale Harris, Alan, Andrew

Post Reply
RollerBall
Forum Regular
Posts:178
Joined:Thu Jan 05, 2006 3:41 pm
Location:South-East England
Stock File - Importing/Exporting Data

Post by RollerBall » Sun Sep 17, 2006 4:04 am

When you export data from the stock file, you will probably want to put the columns of the data file in the same order as they are in the stock file.

However, if you want to import data using the clipboard method (eg from a CSV file) the columns have to be in a completely different order, which makes it a little tricky :?

However, once you've sussed this it works fine - but make doubly sure that you back up your stock file before you overwrite it with eg a file that you've exported, edited and/or added new/additional data to and then re-imported because if you don't change the column order before you import the updated data you will totally corrupt your stock file.

Be warned from one who found out the hard way ............ but had fortunately done a backup ;)

User avatar
Andrew
Site Administrator
Posts:822
Joined:Sun Dec 28, 2003 3:40 pm
Location:New Zealand

Post by Andrew » Sun Sep 17, 2006 4:14 am

Not really, most spreadsheeting applications open CSV files and split them into columns - you can then reshuffle columns and save as CSV again - easy peasy.
Image
DHPOS Veteran (from v3.46, July 2002)

User avatar
daleadmin
Forum Owner
Posts:1279
Joined:Tue Dec 30, 2003 9:47 pm

Column order

Post by daleadmin » Sun Sep 17, 2006 11:08 am

RollerBall,

When you export the stock table from the POS program you can specify the order the columns are in.

RollerBall
Forum Regular
Posts:178
Joined:Thu Jan 05, 2006 3:41 pm
Location:South-East England

Re: Column order

Post by RollerBall » Sun Sep 17, 2006 3:59 pm

daleadmin wrote:RollerBall,

When you export the stock table from the POS program you can specify the order the columns are in.
:D

Exactly. But when you import you can't. And it's only when DHPOS 'checks' the clipboard that you find out what order it expects the columns to be in, in the file that it's importing, which is nothing like the order the columns are in in the stock file.

This weekend I helped someone who's opening a new store on Monday and had obtained a spreadsheet complete with barcodes, prices, costs and inventory numbers for nearly 800 stock items from her supplier. She had already sorted the columns into stock file order and I combined those details with the 'Payout' (category 255) stock items in an external csv spreadsheet.

It was only when I did the initial import for her that I realised the results were wrong. So I noted what order the system was 'checking' the clipboard in and shifted the columns around into the same order. I then re-imported and did a total stock file overwrite (781 lines).

Maybe the column order relates to an earlier version of the DHPOS stock file? Anyway, it worked fine so hopefully her opening will go ahead as planned tomorrow. I'm glad it worked OK because I'm sure she's got enough on her mind already :?

Post Reply

Who is online

Users browsing this forum: No registered users and 27 guests