473,378 Members | 1,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Change column structure

Hi Guys,
I am Yogesh

Can somebody help me with this.

I have Legislation table as follows

(* "-" is used to indicate space)
-Art_No--Art_Text--Bank---Fin_Inst
===============================
-1-------abc-------true---false
-2-------xyz-------true---true


3rd and 4th columns tell to whom a particular article applies. 3rd and 4th columns are in checkboxes.
I have created a form to updated Legislation details.

Now i would like to change the table structure as

Legislation table
-Art_No--Art_Text
===============================
-1-------abc-----
-2-------xyz-----

Client it applies to
Art_No---Client----Applies
=============================
-1-------Bank------True
-1-------Bank------False
-1-------Bank------True
-1-------Bank------True

How can I relate these to tables in the same form.

Thanks
Yogesh
May 27 '07 #1
1 1214
ADezii
8,834 Expert 8TB
Hi Guys,
I am Yogesh

Can somebody help me with this.

I have Legislation table as follows

(* "-" is used to indicate space)
-Art_No--Art_Text--Bank---Fin_Inst
===============================
-1-------abc-------true---false
-2-------xyz-------true---true


3rd and 4th columns tell to whom a particular article applies. 3rd and 4th columns are in checkboxes.
I have created a form to updated Legislation details.

Now i would like to change the table structure as

Legislation table
-Art_No--Art_Text
===============================
-1-------abc-----
-2-------xyz-----

Client it applies to
Art_No---Client----Applies
=============================
-1-------Bank------True
-1-------Bank------False
-1-------Bank------True
-1-------Bank------True

How can I relate these to tables in the same form.

Thanks
Yogesh
  1. Your prior Post concerning this same Topic was deleted - Please do not double post your questions. It makes it very confusing for Moderators/Experts who are trying to assist you in resolving your questions.
  2. If you haven't already done so, relate your 2 Tables in the following manner: Legislation.Article_NO(1) ==> Client.Article_NO(MANY).
  3. Create a Query consisting of Field from both Tables. If step 1 was completed, the join will automatically be created.
  4. Make this Query the RecordSource for your Form.
  5. Consider making Client a Sub-Form consisting of the 2 Fields. If you choose to do this, your Parent Form will be based on Legislation and your Child Form will be based on Client data.
  6. If you need further assistance, let us know and someone will be along to help you.
May 27 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Dave C. | last post by:
Hello, I have created the following trigger: CREATE TRIGGER tr_UDFTest ON UserDefinedFields FOR INSERT, UPDATE AS DECLARE @foobar varchar(100) SELECT @foobar= foobar FROM inserted IF (...
9
by: Don Grover | last post by:
I have a HTML table created using ASP as a web page. ie. HEADING1 HEADING2 HEADING3 etc... data 1 data2 data3 etc and so on How can I toggle hide /...
3
by: Trevor Best | last post by:
Is there a *simple* way to change a collumn from allowing null to not null? I just unchecked "allow nulls" in EM and the SQL it generates to do this one thing is astonishing, create table, drop...
3
by: rdraider | last post by:
I'm doing a data conversion project, moving data from one SQL app to another. I'm using INSERT INTO with Select and have the syntax correct. But when executing the script I get: Server: Msg...
10
by: Colleyville Alan | last post by:
I am trying to turn a short and fat (63 columns) table into one that is tall and skinny (7 columns). Basically, I am trying to create a "reverse crosstab" using a looping structure in VBA along...
3
by: Gene Hubert | last post by:
I'm using DataTable.ImportRow to move data from one datatable to another... Dim dt, dtTarget As DataTable Dim dr As DataRow dt = DirectCast(Me.DataSource, DataTable) dtTarget = dt.Clone...
4
by: =?Utf-8?B?QmFidU1hbg==?= | last post by:
Hi, I have a GridView and a SqlDataSource controls on a page. The SqlDataSource object uses stored procedures to do the CRUD operations. The DataSource has three columns one of which -...
3
pradeepjain
by: pradeepjain | last post by:
Hii guys, I am working to make a 3 column structure say left-column,center content column,right-column.i am able to do it ,but when there is nothing on the left -column the center...
0
by: Czechtim | last post by:
Hello, I have problem with databinding. I created small application using structure that I need to demonstrate problem. I need to change content of label when changing content of property...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.