Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

transfer value to subform new record

Posted on 2003-12-03
1
Medium Priority
?
303 Views
Last Modified: 2008-03-06
i've been wrestling with this one....
i have a listboxA on a mainform and a button next to it
i want on click to transfer the value from listboxA

to a NEW record on the Subform

how do i specify that it goes to a new record?

thanks for any help on this, J
0
Comment
Question by:jfgk
1 Comment
 
LVL 5

Accepted Solution

by:
DarkMor earned 180 total points
ID: 9912104
jfgk,
Is the subform in FORM  or Datasheet/Continuous, also are there other fields on the subform that need data before the record can be saved, finally can the user cancel saving the record after clicking the button.

The reason I ask these are to better help understand the scenerio.

It is possible to docmd.gotorecord, , nacnewrec on the subform and then set the value by referencing the listbox value, however knowing the structure of the subform makes a big difference

D
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Suggested Courses

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question