TC
cuz i freeze rows ALLL THE TIME via conditional formatting for this
point of sale system i've got
i'll try to cut it down to a couple of lines; but i mean.. come on---
continuous form
text1 text2 text3 text4 (uneditable) (covered by cmdInvisible)
text5 text6 (editable)
you have text1-text4 as disabled, locked; and a transparent button on
top of it. this button well 'select this row as the current row'.
have the what.. beforeInsert, AfterInsert-- something-- on text5 and
text6 so that when you enter cell 5 and 6 you call cmdInvisible_OnClick
Public Sub cmdInvisible_onClick()
Me.text5.enabled = Me.isEditable
Me.text6.enabled = Me.isEditable
End Sub
I mean-- pretty cut and dry
if you really mean freeze; we could figure something out with subforms
that would do what you wanted
forms and subforms are pretty friggin powerful.. especially if you know
vba; and this is what sets access on a level above crappy apps like
Excel for example
if you mean freeze-- like you want to scroll down and keep certain rows
at the top; i mean-- shit -- it's doable..
I mean
MyForm
FIRSTNAME LASTNAME EMPLOYEEID EMAIL
BIRTHDATE
AARON KEMPF 000-00-0000
[email protected]
6/19/1974 <FREEZE>
MARTHA STEWART 000-00-0000
[email protected]
4/20/1940 <FREEZE>
MATT KEMPF 000-00-0000
<FREEZE>
LARRY YOUNG 000-00-0000
<FREEZE>
MDB SISSY 000-00-0000
<FREEZE>
so what you want to do is click on the freeze button for Larry Young
and Aaron Kempf; and these would show up at the TOP of the form... so
that you could then scroll down to see the rest?
i mean-- do i really need to fill in the blanks?
a) take your form and turn it into this
FIRSTNAME LASTNAME EMPLOYEEID EMAIL
BIRTHDATE
AARON KEMPF 000-00-0000
[email protected]
6/19/1974 <FREEZE>
MARTHA STEWART 000-00-0000
[email protected]
4/20/1940 <FREEZE>
MATT KEMPF 000-00-0000
<FREEZE>
LARRY YOUNG 000-00-0000
<FREEZE>
MDB SISSY 000-00-0000
<FREEZE>
and turn it into this
FIRSTNAME LASTNAME EMPLOYEEID EMAIL
BIRTHDATE
AARON KEMPF 000-00-0000
[email protected]
6/19/1974 <FREEZE>
LARRY YOUNG 000-00-0000
<FREEZE>
FIRSTNAME LASTNAME EMPLOYEEID EMAIL
BIRTHDATE
MARTHA STEWART 000-00-0000
[email protected]
4/20/1940 <FREEZE>
MATT KEMPF 000-00-0000
<FREEZE>
MDB SISSY 000-00-0000
<FREEZE>
b) Then you delete the lables from the 2nd section
c) scooch the 2nd section up a little bit
d) change the recordsources to work off of a db-driven variable named
'isFrozen'
e) sorry-- programmatically set the height of the top session to
simulate having locked rows at top
or soemthing along those lines
im sure we could do something other than a simple db-driven variable
but this would act just like freezing-- you could lock certain rows at
the top of your datasheet; and it woudln't be that hard to do
ps - you guys are a bunch of assholes for giving me a hard time. MDB
is crap and you guys are all a bunch of wimps. I spit in your face,
MDB sissies