Subdatasheet expand event (1 Viewer)

ppataki

Registered User.
Local time
Today, 10:55
Joined
Sep 5, 2008
Messages
267
Dear All,

Which event is triggered when a subdatasheet is expanded/collapsed?

Many thanks!
 

Galaxiom

Super Moderator
Staff member
Local time
Tomorrow, 03:55
Joined
Jan 20, 2009
Messages
12,863
None. Subdatasheets are part of tables and queries which don't have events.

Events are associtated with forms, reports and controls. Subdatasheets are essentially a developer tool rather than an element of a well designed production database.
 

ppataki

Registered User.
Local time
Today, 10:55
Joined
Sep 5, 2008
Messages
267
OK, then is there a way to run a code when a subdatasheet is expanded? (it is actually a form in Datasheet view)

Thank you
 

Galaxiom

Super Moderator
Staff member
Local time
Tomorrow, 03:55
Joined
Jan 20, 2009
Messages
12,863
(it is actually a form in Datasheet view)

I have never succeeded in displaying a subdatasheet in a form in datasheet mode.
The only way I know to show a subdatasheet is when the Source Object of a subform control is a table or query.
 

Maximnl

Registered User.
Local time
Today, 19:55
Joined
Apr 2, 2007
Messages
21
OnLoad, OnOpen, OnCurrent - they are all getting a run. The problem is that they run once when you first open subdatasheet. I cannot figure out what event happens when you expand subdatasheet second time.
 

Users who are viewing this thread

Top Bottom