473,387 Members | 1,553 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,387 software developers and data experts.

Vier tabelen in een keuzemenu selecteren

Ik probeer een database te maken voor recepturen.
Ik ben al een heel eind opweg. Beter gezegd hij is bijna al af, maar
ik loop tegen dit probleem op.
Ik heb vier tabellen die alle vier dienen als bron. Namelijk:
contact,
bedrijf, internet en boek. Evt. later wil ik hier misschien nog meer
bronnen bij voegen, maar dit is zolang ik weet niet noodzakelijk.
Ik heb daarnaast een formulier. Deze formulier moet een keuzevak
hebben die
een van de records kiest uit een van de vier tabellen. Maar aangezien
deze tabellen
een autonummeriek sleutel hebben ben ik bang dat de nummers
overeenkomen.
Ik heb een verzamel tabel. Hier komt alle informatie samen.

Ik heb misschien wel een paar ideeën, maar wil eigenlijk jullie
mening
hierover weten.
1. Om een tabel te maken en hier alle informatie inzetten en dan
somige
dingen blanco laten. Dit door middel van vier formuliers. (Waar ik
hier bang
voor ben is dat hij de waarde bijschrijft van bv boek bij het
internet.)
2. Om vier tabellen te maken. Vier formules. En dit alles samen voegen
in
een nieuw tabel met sleutel. (weet niet of dit gaat werken. Neem
namelijk aan
dat het programma dit samenvoegt tot weer een sleutel.)
3. Om vier tabellen te maken en dit samevoegen met een query. En deze
query
laten oproepen.
4. Of vier tabellen te maken en de naam van de bron gebruiken als
sleutel en
deze laten opvragen.

Waar denken jullie het beste over. Of is er nog een betere mannier
zodat het
bewerken ervan ook makkelijk blijft.

Ben blij dat ik nu al wel recepturen in kan voegen en dat deze ook
blijven
opgeslagen en weer toonbaar zijn. Zonder enige foutmeldingen. Ik hoef
hem verder alleen nog maar aantoonbaar en gebruiksvriendelijk te
maken. Dit is wel makkelijk. (hoop ik;))

Alvast onzettend bedankt voor het helpen.
Dennis

Apr 12 '07 #1
2 3640
On 11 Apr 2007 16:58:34 -0700, "Dennis" <de**********@gmail.com>
wrote:

Dennis,
Dit is een Engelstalige niewsgroep.

You are wondering what the best database design is for your recipe
database. Have you looked at the template database here:
http://office.microsoft.com/en-us/te...CT102144001033
Not necessarily a great database design, but it may still give you
some helpful hints.

You ask whether or not to create a different table for each Source. IN
general I would say No. Source is just one of the fields in the Recipe
table. You may want to store a SourceID, and have a separate Sources
table (SourceID, SourceDescription) where you put your four values,
and could add more if you have a need for more sources.

-Tom.
>Ik probeer een database te maken voor recepturen.
Ik ben al een heel eind opweg. Beter gezegd hij is bijna al af, maar
ik loop tegen dit probleem op.
Ik heb vier tabellen die alle vier dienen als bron. Namelijk:
contact,
bedrijf, internet en boek. Evt. later wil ik hier misschien nog meer
bronnen bij voegen, maar dit is zolang ik weet niet noodzakelijk.
Ik heb daarnaast een formulier. Deze formulier moet een keuzevak
hebben die
een van de records kiest uit een van de vier tabellen. Maar aangezien
deze tabellen
een autonummeriek sleutel hebben ben ik bang dat de nummers
overeenkomen.
Ik heb een verzamel tabel. Hier komt alle informatie samen.

Ik heb misschien wel een paar ideeën, maar wil eigenlijk jullie
mening
hierover weten.
1. Om een tabel te maken en hier alle informatie inzetten en dan
somige
dingen blanco laten. Dit door middel van vier formuliers. (Waar ik
hier bang
voor ben is dat hij de waarde bijschrijft van bv boek bij het
internet.)
2. Om vier tabellen te maken. Vier formules. En dit alles samen voegen
in
een nieuw tabel met sleutel. (weet niet of dit gaat werken. Neem
namelijk aan
dat het programma dit samenvoegt tot weer een sleutel.)
3. Om vier tabellen te maken en dit samevoegen met een query. En deze
query
laten oproepen.
4. Of vier tabellen te maken en de naam van de bron gebruiken als
sleutel en
deze laten opvragen.

Waar denken jullie het beste over. Of is er nog een betere mannier
zodat het
bewerken ervan ook makkelijk blijft.

Ben blij dat ik nu al wel recepturen in kan voegen en dat deze ook
blijven
opgeslagen en weer toonbaar zijn. Zonder enige foutmeldingen. Ik hoef
hem verder alleen nog maar aantoonbaar en gebruiksvriendelijk te
maken. Dit is wel makkelijk. (hoop ik;))

Alvast onzettend bedankt voor het helpen.
Dennis
Apr 12 '07 #2
I notice it a little bit to late. That this was a English forum.
Sorry for that. I was so busy whit it that I forgot to translate the
whole thing :S

@tom
Another database is always help full. This is the first database I'm
making. So tips and tricks I still need to search.
Got four sources now. And one form to choose out of this sources. Like
to put the source in whit a drop down menu. Anyway if I get the source
a autonr then there might be a change that they got the same number as
another source. So thats where I don't know how to deal whit it.

@all
The translation:
I try to make a database for receipts.
Its almost finished, but I still have a problem.
I got four tables what need to function as a source. Thay are:
contact, company, internet and book. And maybe later five, but this
isn't necessary so long I know.
Then I got a form. This form needs one dropdown menu to choose one of
those sources. But the source got all a autonr as key and I'm afraid
that this numbers are the same whit the other source. So the table
that collect all the information(, like ingredient's etc.) go to two
source by one number.

Maybe I got some Ideas , but like to know also your opinion.
1. Make on table for all sources and make some thing blanc. (where I'm
afraid of is that it writes another information by the old
information.)
2. Make four table's and put them into one table whit a new ID, but I
think it collect then all the information until it is full to get an
ID.
3.Make four table's and join them whit a query.
4. Or make four table and use the source naam as ID and call this up
when you fill something in.

All of the source I make a new form. So I can put information in it
about the a new source.

What do you think it is easy to use and can easily be updated.

Think You very much for your help.
Greets Dennis

PS when it is finished I post it over here.
On 12 apr, 05:14, Tom van Stiphout <no.spam.tom7...@cox.netwrote:
On 11 Apr 2007 16:58:34 -0700, "Dennis" <dennis.pa...@gmail.com>
wrote:

Dennis,
Dit is een Engelstalige niewsgroep.

You are wondering what the best database design is for your recipe
database. Have you looked at the template database here:http://office.microsoft.com/en-us/te...033.aspx?pid=C...
Not necessarily a great database design, but it may still give you
some helpful hints.

You ask whether or not to create a different table for each Source. IN
general I would say No. Source is just one of the fields in the Recipe
table. You may want to store a SourceID, and have a separate Sources
table (SourceID, SourceDescription) where you put your four values,
and could add more if you have a need for more sources.

-Tom.
Ik probeer een database te maken voor recepturen.
Ik ben al een heel eind opweg. Beter gezegd hij is bijna al af, maar
ik loop tegen dit probleem op.
Ik heb vier tabellen die alle vier dienen als bron. Namelijk:
contact,
bedrijf, internet en boek. Evt. later wil ik hier misschien nog meer
bronnen bij voegen, maar dit is zolang ik weet niet noodzakelijk.
Ik heb daarnaast een formulier. Deze formulier moet een keuzevak
hebben die
een van de records kiest uit een van de vier tabellen. Maar aangezien
deze tabellen
een autonummeriek sleutel hebben ben ik bang dat de nummers
overeenkomen.
Ik heb een verzamel tabel. Hier komt alle informatie samen.
Ik heb misschien wel een paar ideeën, maar wil eigenlijk jullie
mening
hierover weten.
1. Om een tabel te maken en hier alle informatie inzetten en dan
somige
dingen blanco laten. Dit door middel van vier formuliers. (Waar ik
hier bang
voor ben is dat hij de waarde bijschrijft van bv boek bij het
internet.)
2. Om vier tabellen te maken. Vier formules. En dit alles samen voegen
in
een nieuw tabel met sleutel. (weet niet of dit gaat werken. Neem
namelijk aan
dat het programma dit samenvoegt tot weer een sleutel.)
3. Om vier tabellen te maken en dit samevoegen met een query. En deze
query
laten oproepen.
4. Of vier tabellen te maken en de naam van de bron gebruiken als
sleutel en
deze laten opvragen.
Waar denken jullie het beste over. Of is er nog een betere mannier
zodat het
bewerken ervan ook makkelijk blijft.
Ben blij dat ik nu al wel recepturen in kan voegen en dat deze ook
blijven
opgeslagen en weer toonbaar zijn. Zonder enige foutmeldingen. Ik hoef
hem verder alleen nog maar aantoonbaar en gebruiksvriendelijk te
maken. Dit is wel makkelijk. (hoop ik;))
Alvast onzettend bedankt voor het helpen.
Dennis

Apr 12 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: mooneater | last post by:
Hallo, ich bin neu mit dem Umgang mit PHP, und ich habe folgendes (siehe unten) programmiert. Nun erhalte ich bei Aufruf meiner PHP-Datei folgende Fehlermeldung: Parse error: parse error,...
4
by: Carramba | last post by:
hi! I have simple form like <form method="POST" action="create_db.php"> db name: <input type="text" name="db" size="20"> <br> table name: <input type="text" name="table" size="20"> <br>...
1
by: twopeak | last post by:
Hello I'm making a script, that should allow users to change a select box, and this changes the alt and the src of several images. I have made a script (see under) that exactly does what it's...
13
by: Mr. B | last post by:
Here's the situation... You've a combobox with Items already added. Say they look like this (or even lines of text): 10-00-232 10-00-256 10-01-006 10-01-213 10-02-200
3
by: Christian Christmann | last post by:
Hi, I've a class htable.cpp with a private member: map<string, void*> stringhash; and a function: "void HashTable::Insert(char* ky,void* entr) { strhash.insert(pair<string, void*>(ky,...
15
by: Asshen Shugar | last post by:
Hey. I was experimenting with file uploading possibility using ASP.NET. I ran into a problem :( I can upload small files, but if I try a bigger file it doesn't work... Anyone who can help...
6
by: B | last post by:
Hi, I'm developing a web application where users can upload multiple files to the website. I'm using asp.net 2.0 with FileUpload control and can upload 1 image to the server, but I would like...
5
by: nescio | last post by:
hello, i am making a form using php/html/javascript a part of the form is (email address) comming from a database. the amount of addresses is always different. every address has a checkbox....
4
by: zion4ever | last post by:
Hello good people, Please bear with me as this is my first post and I am relative new to ASP. I do have VB6 experience. I have a form which enables users within our company to do an intranet...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: 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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.