Hi,
I ran into this problem a long time ago, however I cannot remmeber the solution
I have a form with mulitpule pages with subforms in each page. For some reason all of a sudden some of the subforms dissappear. If a record doesn't exist or if I go to add a new record the subform displays a blank form with no fields / labels. This happens if the subforms record ID is blank or null.
Is there a property setting I have incorrectly set?
On the "ON OPEN" event of the main form, I have it set to "Allow Edits" = False for the sub forms.
Also on the subforms I have "Allow Additions" = True.
The above has alway been there without any problems.
The problem seems to have arose when I added code to remove a subform record from the main form by place a remove command button that says txtID = ""
This clears the relationship between the to forms. Which worked the other day when I was testing the entire database.
Now this new issue has appeared.
Any help would be greatly appreciated.
Thanks in advance
Janet![[peace] [peace] [peace]](/data/assets/smilies/peace.gif)
Thanks
Janet![[ponytails2] [ponytails2] [ponytails2]](/data/assets/smilies/ponytails2.gif)
I ran into this problem a long time ago, however I cannot remmeber the solution
![[sad] [sad] [sad]](/data/assets/smilies/sad.gif)
I have a form with mulitpule pages with subforms in each page. For some reason all of a sudden some of the subforms dissappear. If a record doesn't exist or if I go to add a new record the subform displays a blank form with no fields / labels. This happens if the subforms record ID is blank or null.
Is there a property setting I have incorrectly set?
On the "ON OPEN" event of the main form, I have it set to "Allow Edits" = False for the sub forms.
Also on the subforms I have "Allow Additions" = True.
The above has alway been there without any problems.
The problem seems to have arose when I added code to remove a subform record from the main form by place a remove command button that says txtID = ""
This clears the relationship between the to forms. Which worked the other day when I was testing the entire database.
Now this new issue has appeared.
Any help would be greatly appreciated.
Thanks in advance
Janet
![[peace] [peace] [peace]](/data/assets/smilies/peace.gif)
Thanks
Janet
![[ponytails2] [ponytails2] [ponytails2]](/data/assets/smilies/ponytails2.gif)