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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|
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 |