473,406 Members | 2,816 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,406 software developers and data experts.

Update subform with data from popup window.

I'm making a sales order database similar to Northwinds but with a slightly
different form. The tables are the same.

The 'Sales Orders' form has a 'Line Items' subform.

I've added a 'Add Item' button to the master form 'Sales Orders'. Clicking
the button will bring up a popup window'Search' ( a continuous form).

A combo box on the 'Search' form header lets the user select which category
of product he wants to choose from. The continous form recordsource will
requery to show only the products of that category.

To add an item to the Sales Order, the user selects the product (record) in
'Search' and clicks the 'Add to Sales Order' button on the 'Search' form
footer. The item will be added to subform 'Line Items' and the 'Search'
window will close.

How do I tell the subform to add the new item?

Nov 12 '05 #1
1 3815
Tangential answer... why not have an unbound combobox on your form and
use that to filter for the type of Product... then you can do it all
the easy way... This sounds like a lot of unnecessary work. What
will this buy you that filtering one combobox based on the contents of
another won't?
Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: maxrawson | last post by:
Greetings all: I have an asp.net application that is coded mainly in vb.net. I have successfully cut and pasted some javascript into my application that mimicks the datetime picker control in...
4
by: GrantS | last post by:
I am having a problem closing a popup window opened modally. When I try to close the window (when the user hits save button and the data has been processed), the Popup window opens as a full screen...
9
by: Jimmy Junatas | last post by:
When we open a window (using client-side jscript ie. window.open("/Site/Popup.aspx?...",...)) from Page1.aspx, the called page Popup.aspx does not have access to the Session variables present in...
1
by: Rob Petersen | last post by:
I have a datagrid with an Edit/Update column. Instead of editing records "in place" I'd like to do so in a separate popup window because there is a lot of validation, business rules and dynamic...
1
by: Rob Meade | last post by:
Lo all, Just after some suggestions here really... I have a page which lists a members of staff who have left our organisation, this list is then used by various departments in our...
1
by: Matt Jensen | last post by:
Howdy I've got a ASP.NET webform page that pops up a window for a user to make a selection. Once they make a selection in this popup window, the form in the popup is submitted an update to the...
1
by: Mel | last post by:
Hi! I have two text boxes and two image buttons. When I click image button 1 or 2 the same popup window is displayed (using 'window.open' method). When I click image button 1 the returning data...
11
by: V S Rawat | last post by:
using Javascript, I am opening a web-based url in a popup window. MyWin1=Window.Open(url, "mywindow") There is a form (form1) in the url in that popup window, I need to submit that form. ...
4
by: Ria12 | last post by:
hi... I have grid in my Parent page on clik of gridview Edit column it open a Popup window fill all records for updation.But I have problem when user update a record popup window is not...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.