G
GRayL
It is very strange that when the source object of a
subform is a table, one as access to the four sel
properties. When it is a query, these properties
disappear from the collection. My question is how do I
determine, in code, the height and width of a selected
area of a query imbedded in a subform - ie, the source
object is a query?
When the object is a table in datasheet view, the line of
code "Screen.ActiveForm.sfmName1.form.selheight" works
just fine. When the souce object is a query in datasheet
view, that same line of code fails. I get a runtime
error "2455 you have entered an expression that has an
invalid reference to the property SelHeight". I have
spent days examining all the properties of all the
controls of the form to no avail.
Thanks,
Ray
subform is a table, one as access to the four sel
properties. When it is a query, these properties
disappear from the collection. My question is how do I
determine, in code, the height and width of a selected
area of a query imbedded in a subform - ie, the source
object is a query?
When the object is a table in datasheet view, the line of
code "Screen.ActiveForm.sfmName1.form.selheight" works
just fine. When the souce object is a query in datasheet
view, that same line of code fails. I get a runtime
error "2455 you have entered an expression that has an
invalid reference to the property SelHeight". I have
spent days examining all the properties of all the
controls of the form to no avail.
Thanks,
Ray