Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3954080
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T02:03:11+00:00 2026-05-20T02:03:11+00:00

First question I have following entities: Form which can have some Parameters (but not

  • 0
  1. First question

I have following entities: Form which can have some Parameters(but not necessarily), Form has Tables. In one case(if Form has no Parameters) i know advance what Tables correspond to the Form, in other case (if Form have Parameters that the user chooses) I decide which Tables to load depending on choosen Parameters.
How i can store this information in database?
[Update] At this moment i have following schema: table Form, table FormParam, table Table; Form has relation to FormParam(one-to-many), Form has relation to Table(one-to-many); but in this schema doesn`t exist information about the dependence of Table from FormParam. I can do relation from FormParam to Table, but in my case not all situations Table depends from FormParam.

  1. Second question

I have one table which contains some data (catalog of organizations). In another table i have data which will be selected by user from Form. In some Forms user must choose organization from list of organization. I want uniformity of data storage that a user selects from a Form, so i can duplicate records from the first table in the second, but i don`t want( i think this is bad style).
How should I to do in this case?
[Update] Perhaps there is a solution in such a way to design a DataBase that I can specify a first table to refer to records stored in another table. Maybe I’m wrong.

Thank you!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T02:03:12+00:00Added an answer on May 20, 2026 at 2:03 am

    I believe that you need to spend some time designing your system’s data model. Maybe your approaching would be changed from the “operating” to “data” itself.

    To solve your problem now, you can create tables in N x N relation, where in table A you have the Form information and table B you have parameter information. In the 3rd table, NxN relation, you specify the properties that should load the desired tables (that would be stored in a string field in this table).

    Be care about the complexity of your params. If you have many differend combinations, maybe you have too many records and to implement the table loading would be almost impossible.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following question: First of all, I know (and have some academic
Hello this is may first question and I have found so far the following
This is my first question. I have an app in which i want to
this is my first question I Have following class class ProDetection { public function
I have realized that my first question won't be answerable, since php can't deal
Ok, first question on stackoverflow. I have the following xml: <movies> <movie> <cast> <person
this is my first question here. I have the following jquery code: $(document).ready(function(){ $(a).click(function(){
I have two entities: Question and Multiple_Choice_Question . A Question object has a list
First of all let me tell you that i have read the following questions
Here's my first question at SO. I have a internal application for my company

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.