Melanie H. wrote: <Snip>
[Quoted Text] > > Question: I need a button, that when pressed, to essentially > condense the list so that only the 1st drawing of each prep is shown. > I have created a [Prep_Hidden_Query], where I achieved the > information I need by setting the total for Drawing Number to First. > I am not sure how to implement this info into my form. I don't need > another pop up form. I just need it to look like the list was > collapsed. > > Can someone help me with the VB Code? I am not a VB expert, in fact > the more explicit the better. The first time I even opened Visual > Basic was three (3) weeks ago when I started writting this database > program. If you know a code that does not use the > [Prep_Hidden_Query], I am good with that. All suggestions appreciated.
I'm not real clear on what you want but I'm guessing that you could use two subforms, one that Always showed just the first drawing and the other that showed all of them Tyhe button would run If Me.thisSumform.visible = True then Me.thisSumform.visible = False Me.thatSumform.visible = True else Me.thisSumform.visible = True Me.thatSumform.visible = False end if
That will work if I have my Trues and Falses right:)
|