• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to import PDF with CSV index
#22
@Mike

I suppose it really all depends on whether there is a legitimate reason for someone to have unrecognized column headers in the file; If there is no reason then, to my mind, the user should be warned as they probably need to edit the file (easier for them to cancel the load instead of trying to unpick it).

What do you do currently if you detect unrecognized keywords? (I suspect you ignore them - I would if I was programming it!)

Perhaps it would be easiest if you accepted multiple spellings for the field headers e.g. match the first 4 letters (say, assuming unique in 4) rather than the whole header. This would cater for simple misspellings like whether or not there should be a trailing 's'. Obviously, this wouldn't cater for errors in the first 4 chars so a prompt might still be necessary.

I think the main problem is that the load is going to add a lot of entries to the database so one would rather it not happen if it isn't going to have the desired effect. Additionally, this is likely to be something that users do only occasionally (unlike loading individual songs) so they are more likely to make mistakes, especially on their first attempts.

Another possibility, and perhaps it is there already, would be a method to remove a physical file and all the database entries that relate to it; this would make it relatively easy to unpick a faulty load of a CSV file (as opposed to trying to remove all the individual data records which then results in the physical file being deleted)

Not a show stopper for me, just trying to help you improve an already great program

Cheers
Geoff
Samsung Galaxy Tab A6
Reply


Messages In This Thread
How to import PDF with CSV index - by chrisss - 05-12-2018, 08:40 AM
RE: How to import PDF with CSV index - by itsme - 05-13-2018, 10:46 PM
RE: How to import PDF with CSV index - by chrisss - 05-13-2018, 11:32 PM
RE: How to import PDF with CSV index - by art - 05-21-2018, 08:42 PM
RE: How to import PDF with CSV index - by art - 05-21-2018, 08:47 PM
RE: How to import PDF with CSV index - by chrisss - 05-21-2018, 11:39 PM
RE: How to import PDF with CSV index - by art - 05-22-2018, 12:00 AM
RE: How to import PDF with CSV index - by chrisss - 05-22-2018, 05:24 AM
RE: How to import PDF with CSV index - by itsme - 05-22-2018, 03:05 AM
RE: How to import PDF with CSV index - by art - 05-24-2018, 02:33 AM
RE: How to import PDF with CSV index - by chrisss - 05-24-2018, 03:07 AM
RE: How to import PDF with CSV index - by art - 05-24-2018, 04:59 AM
RE: How to import PDF with CSV index - by itsme - 05-24-2018, 07:01 AM
RE: How to import PDF with CSV index - by chrisss - 05-24-2018, 07:02 AM
RE: How to import PDF with CSV index - by art - 05-24-2018, 11:12 PM
RE: How to import PDF with CSV index - by chrisss - 05-25-2018, 12:53 AM
RE: How to import PDF with CSV index - by art - 05-25-2018, 05:23 AM
RE: How to import PDF with CSV index - by art - 05-26-2018, 01:02 AM
RE: How to import PDF with CSV index - by chrisss - 05-26-2018, 02:02 AM
RE: How to import PDF with CSV index - by Geoff Bacon - 05-26-2018, 04:18 AM
RE: How to import PDF with CSV index - by itsme - 05-26-2018, 08:25 AM
RE: How to import PDF with CSV index - by art - 05-28-2018, 10:41 PM
RE: How to import PDF with CSV index - by art - 05-29-2018, 01:03 AM
RE: How to import PDF with CSV index - by art - 05-29-2018, 03:15 AM



Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.