T
T Ray Humphrey
I have an Access 2002 application with linked tables to SQL Server (just
recently used SSMA to migrate data to SQL). The Jet d/b app has worked fine
for years with local data.
I have a main form with nested subforms, at most 4 levels deep. My 1st
through 3rd levels of subforms load fine. The 4th level doesn't load its
data. If I open the main form in the Jet d/b, all works fine. If I open the
3rd-level subform by itself (as the top level) in the SQL back-end d/b, it
shows the "4th" level subform's data correctly (really at the 2nd level in
this instance).
But when I open the main form in the SQL back-end d/b, the 4th level does
not load its data. In the debugger, I can see the RecordSource property of
the 4th level subform is "" (though in design mode, it is set to a table
name). I have added code in several places (parent's Current, subform's Load
and Current) to set the RecordSource property. When I step past the code, it
does not change the value. No errors are reported.
Is there a limit to the number of nested subforms that linked tables will
handle?
Thanks in advance,
Ray
recently used SSMA to migrate data to SQL). The Jet d/b app has worked fine
for years with local data.
I have a main form with nested subforms, at most 4 levels deep. My 1st
through 3rd levels of subforms load fine. The 4th level doesn't load its
data. If I open the main form in the Jet d/b, all works fine. If I open the
3rd-level subform by itself (as the top level) in the SQL back-end d/b, it
shows the "4th" level subform's data correctly (really at the 2nd level in
this instance).
But when I open the main form in the SQL back-end d/b, the 4th level does
not load its data. In the debugger, I can see the RecordSource property of
the 4th level subform is "" (though in design mode, it is set to a table
name). I have added code in several places (parent's Current, subform's Load
and Current) to set the RecordSource property. When I step past the code, it
does not change the value. No errors are reported.
Is there a limit to the number of nested subforms that linked tables will
handle?
Thanks in advance,
Ray