A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Dynamically Inserting Pages into Tab Controls



 
 
Thread Tools Display Modes
  #1  
Old March 29th, 2006, 06:40 PM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default Dynamically Inserting Pages into Tab Controls

I'm trying to create a school report system whereby the Tutor has overall
view of the tutees subject reports for that semester. I've got a XTab query
that displays all the reports for each of the students subjects, but each
student may study a different number of subjects.

Is there a way that I can generate the Tab pages when the student record is
accessed? I can give further detail of the tables and queries, but just
wondered if this was possible at all. I think it might be realistic using
asp.net, but I don't want to go down that route just yet, as this is the
prototype.

Many thanks for any suggestions, ideas...

Wendy
  #2  
Old April 4th, 2006, 02:25 PM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default Dynamically Inserting Pages into Tab Controls

Hi,


I don't think we can do it at runtime with the Access supplied tab-control.
We can create extra tab, invisible, and make them visible at run-time, on
the other hand.


Hoping it ma help,
Vanderghast, Access MVP

"Wendy" wrote in message
...
I'm trying to create a school report system whereby the Tutor has overall
view of the tutees subject reports for that semester. I've got a XTab
query
that displays all the reports for each of the students subjects, but each
student may study a different number of subjects.

Is there a way that I can generate the Tab pages when the student record
is
accessed? I can give further detail of the tables and queries, but just
wondered if this was possible at all. I think it might be realistic using
asp.net, but I don't want to go down that route just yet, as this is the
prototype.

Many thanks for any suggestions, ideas...

Wendy



  #3  
Old April 5th, 2006, 03:42 PM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default Dynamically Inserting Pages into Tab Controls

Michel Walsh wrote:
Hi,


I don't think we can do it at runtime with the Access supplied tab-control.
We can create extra tab, invisible, and make them visible at run-time, on
the other hand.


Hoping it ma help,
Vanderghast, Access MVP

"Wendy" wrote in message
...

I'm trying to create a school report system whereby the Tutor has overall
view of the tutees subject reports for that semester. I've got a XTab
query
that displays all the reports for each of the students subjects, but each
student may study a different number of subjects.

Is there a way that I can generate the Tab pages when the student record
is
accessed? I can give further detail of the tables and queries, but just
wondered if this was possible at all. I think it might be realistic using
asp.net, but I don't want to go down that route just yet, as this is the
prototype.

Many thanks for any suggestions, ideas...

Wendy




Hi,
Well I've code that can do it, but you have to switch the form to design
mode to add the pages.

I'm cool with that, but am having problems with the datasource that
should be placed on to the tab page once it's been created.
  #4  
Old April 5th, 2006, 07:55 PM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default Dynamically Inserting Pages into Tab Controls

Hi,


yep, indeed, but opening a form in design mode is not really my definition
of "run-time", ... even if it is "border line" in this case.

The tab control is not really a container. The controls on specific tabs
still belong to the form, at 100%, and not to the tab control. A tab "page"
does not have a datasource, in itself. If you place a subform on a tab page,
then such subform can have a record source. You can create a single subform
outside the tab control and move it over the tab control, then, accordingly
to the active page, set the SourceObject of that subform (that will be
visible for all pages of the tab control).


Hoping it may help,
Vanderghast, Access MVP

"Wendy Parry" wrote in message
news
Michel Walsh wrote:
Hi,


I don't think we can do it at runtime with the Access supplied
tab-control. We can create extra tab, invisible, and make them visible at
run-time, on the other hand.


Hoping it ma help,
Vanderghast, Access MVP

"Wendy" wrote in message
...

I'm trying to create a school report system whereby the Tutor has overall
view of the tutees subject reports for that semester. I've got a XTab
query
that displays all the reports for each of the students subjects, but each
student may study a different number of subjects.

Is there a way that I can generate the Tab pages when the student record
is
accessed? I can give further detail of the tables and queries, but just
wondered if this was possible at all. I think it might be realistic using
asp.net, but I don't want to go down that route just yet, as this is the
prototype.

Many thanks for any suggestions, ideas...

Wendy




Hi,
Well I've code that can do it, but you have to switch the form to design
mode to add the pages.

I'm cool with that, but am having problems with the datasource that should
be placed on to the tab page once it's been created.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
inserting an image on multiple pages in the same doc EG Scott General Discussion 4 May 18th, 2007 03:49 AM
Printing selected pages of a merged document Andrew Mailmerge 2 March 23rd, 2006 07:28 PM
Inserting a Section Break inserts extra pages Jessica Page Layout 6 August 23rd, 2005 02:32 PM
Inserting the same hyperlink on all pages in a document Shell General Discussion 0 January 31st, 2005 02:41 PM
Dynamically Move Controls in Report Andy Setting Up & Running Reports 4 July 14th, 2004 10:47 PM


All times are GMT +1. The time now is 06:36 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.