Results 1 to 2 of 2
  1. #1
    Stan Denman is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Mar 2012
    Posts
    55

    Feedback on Table design

    Attachment 52705Attachment 52705I would welcome any comments and suggestions on my DB table and schema. Let me tell you what I am trying to accomplish. The DB is for storing information about an evidence file in pdf form. The file is a combination of structured, semi and unstructured data. I am first addressing extraction of structured and semi-structured data. A key strategy is for me to direct the search based upon the type of document in the ParentBookmark text. So for example, if i have a DDE type doc, I know that I need facts A to G. This information is stored in an ontology. And the ontology has specific instructions for how to find a given text C. I have found if the pdf is converted to text I can reliable know that text C always follows test "this is the time" and stops with the text "for action". If I look at the data I want to extract, I can put all the data in 1 of three buckets: Binary, FreeText and TextLimited. So "Can the claimant do unskilled" work is a yes or no answer. Fact of "Stair Climbing Ability" as one of Unlimited, Never, Occasionally, Frequently. And we can have free text answers with lots of text. Also some CaseFacts can precipitate lots of other needed information. So a case fact of "past" job" needs lots of detail for that job. So I have organized as attached. the key table is CaseFacts. But it handles only "one off" type questions, like for example "UnskilledWorkAbility" with its boolean answer. And I have subclassed for those types of inquiries that trigger a lot more needed information like TreatingSources and PRW and OtherWork. Chat GPT has also suggested that I subclass based upon the 2 types: Boolean, FixedList and FreeText because for every record in CaseFacts 2 of 3 fields FactValueBoolean, FactValueFreeText and FactValueLimitedList will always be null. But I am not really sure how to do that, or if we create unneeded complication. I guess we could have tables PRW, TreatingSources and OtherWork as subtables if I have a tableCaseFact_FreeText?

    So what I want the workflow for my app to do is accept an upload of a pdf. Then create initial tables including the PDFBookmark and PDFParentBookmark table that give me the structure. Now I process the pages based upon the identify of the ParentBookmark. that is, I have an ontology that has rules for what data values, and how to get them, for any given document. And with these extracted data points get we create a record in CaseFact, etc
    Attached Files Attached Files
    Last edited by Stan Denman; 02-14-2025 at 09:42 AM. Reason: Changes to DB

  2. #2
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2013 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,250
    Can you prepare a "dummy" PDF with no sensitive info and upload it here so we could have a look? I usually tackle this kind of task by using a template table in which I build the "pre" and "post" keywords for each database field. Have a look at the free sample here:
    https://forestbyte.com/ms-access-uti...rser-importer/
    For example if you have something like this:
    Fact A: your fact A value
    Fact B: your fact B value
    Fact C: your fact C value

    you can build your template table to show that the fact A value is between "Fact A" and "Fact B" keywords.

    Your db structure might be overdesigned but of course I don't know your business rules...

    Another thing to mention is that you probably want a temporary table in which to append the imported record first and build a form to allow the user to validate\edit it before the final append to the db table(s).

    Cheers,
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Access Dashboard Design Feedback
    By theviking in forum Access
    Replies: 7
    Last Post: 08-23-2019, 08:30 AM
  2. Request for DB Design Feedback - Is This Efficient
    By Sunny8760 in forum Database Design
    Replies: 1
    Last Post: 04-12-2018, 06:35 AM
  3. Combo Box Feedback
    By The Professor in forum Forms
    Replies: 3
    Last Post: 08-12-2013, 02:07 PM
  4. feedback on query written
    By Compufreak in forum Access
    Replies: 1
    Last Post: 08-29-2012, 06:16 PM
  5. Feedback for Access 2010
    By Michele Keck in forum Access
    Replies: 1
    Last Post: 10-01-2010, 11:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums