Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Syncronizing a subform within a subform

Status
Not open for further replies.

OC2

IS-IT--Management
Apr 2, 2001
59
SG
Hi,

ok first ill try and explain what I have done.

I have a main form which consists of some updatable fields to existing records in my database.

To scroll through these current records I have a subform in continuous form format. Upon clicking the record selector located on the side of the table the information on the main table will syncronize with the info shown on the subform using this command on the subforms click()

DoCmd.GoToRecord acDataForm, "escalationlist", acGoTo, Me.CurrentRecord

now this works fine.

My problem is, when inserting the mainform/subform onto another form, the two are no longer syncronized.

does anyone know how to solve this problem.

thx

 
Have you checked to see that the LinkMasterFields & LinkChildFields are set correctly? James Goodman
j.goodman00@btinternet.com
 
Its not a child/ master problem, its to do with the current record feature. It works when its just the main form/subform, but when implanted into another form, it will not work anymore. I need to know the code to get it working again
 
You need to properly reference the form/subform. When it has been inserted into another form, THAT form becomes the "Main" form. The former main form is now a subform of the new one and needs to be referenced as such. "Databases That Work The Way You Do!"
 
OK, I now know that using the DoCmd.GoToRecord function only works with a main form/subform. the main problem now is to get it to work with a subform within a subform.
Could someone pls help me out or at least point me in the right direction

thx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top