473,395 Members | 1,418 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

One record one tab in a sub form?

Not sure if i am asking too much. I am quite new to the whole subform and tab controls.

I have a form which displays the students details, Name, Address etc. In this form i have a subform which diplays the course the student is enroled on. This is based on an SQL Query linking tblCourselist with tblLINKStudent_Course.

The subform displays the records of the courses enroled on. Great!

BUT

This is not easy to sift through when one student could enrol in a number of courses over their career.

1. Is their a way to force the records displayed in the subform to start with the most recently enroled on and go back in time? I have looked at the filter and order by controls in the form but couldn't get anywhere.

OR

2. Can Tabs be used in the subform which would display each record of a course enroled on for that student in a single tab and could the tab title then be the date enroled on?

Any ideas on how to do either of these two would be great as it would make the database much easier to navigate.

Cheers

CrostonScottish
Oct 19 '07 #1
3 1362
nico5038
3,080 Expert 2GB
The first option is easiest.
Open the subform in design mode and directly look into the form's Properties under the Data tab.
The Recordsource will hold a table or query. Open this using the [...] button behind the field (only visible when it's selected). In the query add a Descending sort on the Date field.

Nic;o)
Oct 19 '07 #2
Cheers for that. I new it had to be something fairly straight forward, but sometimes i can't see the wood from the trees.

Thanks again.
Oct 23 '07 #3
nico5038
3,080 Expert 2GB
Glad I could help, and be sure I feel like a forester sometimes too <LOL>

Nic;o)
Oct 23 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Skully Matjas | last post by:
I am using the following code (created by the wizard) to allow to bring my form to a particular entery. But when I edit the entery (ex: put new information into a blank cell), it puts that record...
15
by: Steve | last post by:
I have a form with about 25 fields. In the BeforeUpdate event of the form, I have code that sets the default value of each field to its current value. For a new record, I can put the focus in any...
8
by: Zlatko Matić | last post by:
There is a form (single form) and a combobox. I want that current record of the form is adjusted according to selected value in the combobox. Cuurrent record should be the same as the value in the...
12
by: swingingming | last post by:
Hi, in the NorthWind sample database, when clicking on the next navigation button on the new order record with nothing on the subform (order details), we got an order with nothing ordered. How can...
3
prn
by: prn | last post by:
Hi folks, I've got something that's driving me crazy here. If you don't want to read a long explanation, this is not the post for you. My problematic Access app is a DB for keeping track of...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.