#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Move to next record

I have two forms open. One is a main form (FrmProjectInfo) with a subform
(Child98), and the other is a pop up. The pop up form has data I want to put
into the subform. The following code, run from the pop up, does this:

Forms![FrmProjectInfo]![Child98].Form![Description] = Me.List13
DoCmd.RunCommand acCmdSaveRecord

I would like to move immediately move to the next record of the subform,
which is configured as a continuous form. The following code does not work:

DoCmd.GoToRecord acDataForm, "Forms![FrmProjectInfo]![Child98]", acNext

Access tells me that the form is not open. I tried this iteration of the
code:

DoCmd.GoToRecord acDataForm, "Forms![FrmProjectInfo]![Child98].form", acNext

this doesn't work either...


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
I need to have a record number change for every record Puget Sound Courier Service Excel Discussion (Misc queries) 1 July 12th 09 03:32 PM
Open new record with selected fields from previous record Design by Sue Excel Discussion (Misc queries) 1 June 12th 09 02:24 PM
Excel arrows don't move black box but move the window Thebit Excel Discussion (Misc queries) 1 April 13th 09 02:06 AM
What function would move a closed record to another worksheet? Stephen Excel Worksheet Functions 1 April 27th 06 06:27 AM
How do I record a macro to move down and over to specific column VMH Excel Discussion (Misc queries) 2 March 13th 06 05:09 PM


All times are GMT +1. The time now is 05:31 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"