473,320 Members | 1,947 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,320 software developers and data experts.

Inserting Subform Data in Table

Hi!

I am having a problem here..I have a form and in that form I have a subform..Inside that subform it has data..I wanted to insert that data in a table..is it possible?please help me..


tank you in advance!

-cassey
Jan 28 '07 #1
4 1759
NeoPa
32,556 Expert Mod 16PB
Yes it's possible.
Unfortunately, without information as to how the forms are joined; what the Record Sources are for the forms (or even if they're bound forms); if not bound how the forms are populated; The layout of the bound tables if bound; etc it's not easy to tell you the best way to do what you need to do.
Jan 28 '07 #2
Yes it's possible.
Unfortunately, without information as to how the forms are joined; what the Record Sources are for the forms (or even if they're bound forms); if not bound how the forms are populated; The layout of the bound tables if bound; etc it's not easy to tell you the best way to do what you need to do.
thank you for the reply..
Actually the main form is the search form and there are multiple fields I need to search and the result will display in the subform..I need to export that result in excel but the recordsource of my subform is a stored procedure and whenever they need to search it will ask for parameters..by the way I am using adp access..I am thinking, whenever they search i will create a temporary table and insert the result of the subform on the table I created so that when I click the button export to excel I will just call the temporary table I created.

thank you in advance


-cassey
Jan 29 '07 #3
NeoPa
32,556 Expert Mod 16PB
Just a bump for the moment I'm afraid.
Struggling to keep up with the volumes but I've got this bookmarked for a revisit.
Jan 30 '07 #4
NeoPa
32,556 Expert Mod 16PB
Your solution should work.
You can do it with the existing query / Stored Procedure though if required. It will be complicated though, if you have filtering to apply.
First you need a QueryDef (saved query) to return the required results from the Stored Procedure. If the filtering (WHERE clause) needs changing this can either be done in place or on a temporary copy of the QueryDef which can be deleted when finished with. When the correct QueryDef is ready then simply export this Querydef to Excel in the usual way.

This is a lot more involved so you may well prefer the temporary table method. If not, and you need further clarification of how this should work then post back explaining which bit(s) you need help on.
Jan 31 '07 #5

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

Similar topics

6
by: Ray | last post by:
I have a main form with a subform. The main form has a combo box which lists all the clients which in turn are displayed in the subform. The subform is bound to the combo box and all work well....
2
by: Scott | last post by:
In my database, I have a form with a subform. I had everything working correctly - the correct records would display on the subform for each record on the form. I could edit, add, and delete on the...
25
by: Lyn | last post by:
Hi, I am working on a genealogy form. The only table (so far) lists everybody in the family, one record per person. Each record has an autonum ID. The parent form (frmMainForm) displays the...
3
by: Nicolae Fieraru | last post by:
Hi All, I have a problem and I can't figure out how to solve it. My database has three tables: tblCustomers, with CustomerId and CustomerName tblProducts, with ProductId and ProductCode...
5
by: lottaviano | last post by:
I am using Access 2002 and have two tables (Main and Actions) linked (in Relationships) on one field "CAL_ID" (primary key in Main Table). Main Table is a list of equipment. Actions Table lists...
6
by: tlyczko | last post by:
I am working on an audits database. The main table, Audits, has an AuditID primary key. Another table, 1:1 relationship, ProgramAudits, has AuditID as a foreign key. I have a master/main form...
4
by: aqua404 | last post by:
I know this has been discussed, but I can't find a resolution. I have a subform on a form. The table with the data for the main form has 15,000 records. I am opening and then setting...
9
by: Ecohouse | last post by:
I have a main form with two subforms. The first subform has the child link to the main form identity key. subform1 - Master Field: SK Child Field: TrainingMasterSK The second subform has a...
1
by: QCLee | last post by:
Hello Sir, Im here again asking for help. I have a form and a subform relate to HVAC Windward Table. i have a SAVE button on the form that when clicked it saves data on the HVAC Windward Table but...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
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: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.