View Full Version : Subform data dependant on particular Main Form


lorraine
01-16-2001, 07:24 AM
I have 4 sub forms (frmPartC1, 2 etc) which basically hold the same data, all the fields are the same but default values are different depending upon which Main form opens the subform. Is there anyway I can write some code that would set a default value in the subform dependant upon which Mainform opened it, allowing me to have just 1 subform
Thanks in advance
Lorraine

Pat Hartman
01-16-2001, 04:34 PM
You can use the OpenArgs property to pass a value from the main form to the subform so the subform knows which mainform opened it.