Access 2007 datasheet form

goodfu

Registered User.
Local time
Today, 18:38
Joined
Dec 23, 2010
Messages
140
In Access 2007 is there any way to have a datasheet form (not a subform) with a header section that's visible so I can drop a combobox on it for filtering? I created a form that displays some records. When I change the format from Single to Datasheet the header disappears.
 
No, you can't have a header on a datasheet view. But you can put a subform on a main form with the combo there and the subform not linked to anything and then set the subform's rowsource in the combo's after update event.
 
In addition to Bob's idea you could also use a Continuous View Form tweaked to look like a Datasheet View Form. You would then have the Header Section available.

Linq ;0)>
 
.... and then set the subform's rowsource in the combo's after update event.

I know it sounds pedantic but I strongly discourage the use of incorrect terminology and this is the second post I have seen in the past few days referring to the "rowsource" of a form.

Forms don't have a RowSource property. RowSource is found in combos and listboxes.

You could set the RecordSource of the form based on the combo but I prefer to set the Filter property.
 
Yes, yes, yes, yes, yes, yes, yes, yes, yes, yes, yes, yes, yes, yes, yes,

I was thinking Record Source but because I was also thinking Combo - Row Source came out.

I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source
I will not use row source for record source

I feel like Bart Simpson...:D
 
I would have expected a more efficient solution from a programmer Bob.;)

Code:
 For i = 1 to 1000
     Debug.Print "I will not use row source for record source"
Next
:D
 
I would have expected a more efficient solution from a programmer Bob.;)

Code:
 For i = 1 to 1000
     Debug.Print "I will not use row source for record source"
Next
:D

It doesn't have the same impact of a 5" long post on screen. ;)
 
Writing I will not blah blah blah over and over is punishment. Teacher won't let you use a loop.

Thanks.

By the way, I don't get an email everytime somebody puts in a post.
 
I would have expected a more efficient solution from a programmer Bob.;)

Code:
 For i = 1 to 1000
     Debug.Print "I will not use row source for record source"
Next
:D

Compile error:
Variable not defined
 
By the way, I don't get an email everytime somebody puts in a post.

You won't. You only get a notification email for the FIRST post that occurs after your last visit to the thread. If you visit the thread right after each post and you aren't in the thread when the next post is made, you will get a notification for that next post as well.
 

Users who are viewing this thread

Back
Top Bottom