Avatar billede mikael_juul Nybegynder
27. august 2006 - 10:35 Der er 3 kommentarer

Hjælp til at komme videre med Access database

Hej,

Jeg har en Access database (eller er ved at lave) med en masse musik information og har brug for at udvide denne database, så man kan indtaste hitlister ud fra de titler der er i databasen.

Altså man skal feks. kunne oprette en Top 20 uge 34, og udvælge i den rigtige rækkefølge de sange fra databsen som nu er på denne Top 20.

Man skal også den anden vej kunne se disse informationer, feks når man finder en titel i databsen, skal man kunne se at den titel har været på Top i uge 22, 23 ,24 osv.

Databsen skal kunne indeholde forskellige hitlister som skal opdateres ugentligt.

Nogle der har nogle gode ideer til dette ? - det kunne være nogen der brugte en ligende funktion som man kunne tilpasse til det jeg søger.

På forhånd tak.
Avatar billede terry Ekspert
27. august 2006 - 11:13 #1
Its important that you get the table design i order first. Dont make any forms/reports until you have done this.
Make a note of all the information you want to be able to enter into the database and also what you want to be able to see in your forms/reports etc. These are the basis of your tables/fields.

Which tables/fields do you currently have?
Avatar billede mikael_juul Nybegynder
27. august 2006 - 13:46 #2
Im building on a template from Microsoft (Music Databse) and it contains a table for artists and recordings. The templete database is made for albums, but i will use it as a reference when i will start to build up my own datase, and was just wondering how the request to have music charts included could be done.

Mikael
Avatar billede terry Ekspert
27. august 2006 - 15:52 #3
"... was just wondering how the request to have music charts included could be done."

Well this all depends on where the information for this comes from.

If each titel in the Template database has a unique ID then
I would think all that you would need is an extra table which contains a field for the ID of the Title and a field containing a date. This date is the first day of the week (Monday). And also a field for entering a number (1 to 20) which contains the position that ID had for that date (week)

Then in a form you could choose the date at the top of the form. and then choose the titles and its position in the lower part of the form. The date gets coppied from the top into each record you add.

This information should then enable you to find all records for a specific week and also find all weeks a specific title was in the top 20.
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Dyk ned i databasernes verden på et af vores praksisnære Access-kurser

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester