Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
10
Posts with Upvotes
10
Upvoting Members
9
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
8 Commented Posts
0 Endorsements
Ranked #505
~35.4K People Reached
About Me

Database Programmer

177 Posted Topics

Member Avatar for Sheilac

I don't see a need for the master_id. Could you explain it further? The problem I have, for example, is that the date and time of an activity is not related to the people. Here is the design that comes to my mind: person: id (primary key), first_name, last_name category: …

Member Avatar for Juan_8
0
442
Member Avatar for slackertser

It looks like you are off to a good start. However, I would suggest that, in addition to the Booking entity, you have an Enrolled entity to track that a person not only booked a course, but was accepted into the course. Secondly, you have student_no as a foreign key …

Member Avatar for coursehorror
0
175
Member Avatar for mjuni

This is my recommendation: Create one 'user' table that stores, at a minimum, UserId, but could also store name, DOB, etc. Create one 'Attributes' table that stores all the different "questions" ("What is your hair color","What is your eye color","What are you favorite activities", etc.) [B]This table needs an ID …

Member Avatar for atifcomputerz
0
4K
Member Avatar for decay

The easiest thing to do would be to make another table to store the "attachments" with the following fields: ID, e-mail ID (FK), attachment I realize that your situation not actually be e-mails and attachments, but I wanted to keep the same example to make things easier. After you need …

Member Avatar for yeloraby
0
390
Member Avatar for magochi

Here are just some ideas: Bank: ID, Name, Address, etc Account: ID, Account number, Bank, Type, Parent Account? Transaction: ID, Date, Source Account, Destination Account, Amount, Transaction Code That should be the basic design, but I would recommend additional tables for transaction type, reason codes, etc.

Member Avatar for magochi
0
288
Member Avatar for rmch77

Okay... not quick and simple and I don't have the specific details, but here is the general idea I would use. I would write some VBA code that does the following: 1) Loop through each Policy 2) Withing each loop, keep track of a currentDate variable that is initially set …

Member Avatar for chuckc
0
169
Member Avatar for chuckc

Click on the Office Button (in Access 2007) or File (in Access 2010) and then Options. On the options screen, click on Current Database on the left menu. Under Document Window Options, click on Overlapping Windows. Click OK and then reopen your database. Forms will now appear in the traditional …

Member Avatar for chuckc
0
211
Member Avatar for isumasama

One possibility is to not store the attachments in the database, but rather save them in a specific directory and only store the location and filename of the attachment in the database. When you need to access the attachment, have the database look up the location of the file and …

Member Avatar for timothybard
0
134
Member Avatar for mtrinick

You will need to create a RoomsTime entity. This entity will have two attributes: RoomsID and TimeID. You then need to make both of them into the compound key for the entity. This will ensure that no two rooms will have the same time scheduled. Each class can then have …

Member Avatar for sasio1
0
125
Member Avatar for rain2shine

Here are some suggestions for additional tables: Owner Elected Officials Principle businesses Principle investors Mortgagors Renovations and Repairs Occupancy (a table that records the unit, beginning date of occupancy and ending date of occupancy) There are several more tables I would recommend adding, but the ones I listed above are …

Member Avatar for tesuji
0
264
Member Avatar for tycham

MS Access supports multiple users using a single database at the same time. What issue do you run into? What happens when several people try to open the same database file at the same time?

Member Avatar for nayak_1983
0
95
Member Avatar for Fredep

Here is what I would recommend as a beginning: Make: ID (PK), Description Model: ID (PK), Description, Make (FK) Car Type: ID (PK), Model (FK), Year Owner: ID (PK), Last Name, First Name Car: ID (PK), Car Type (FK), Owner (FK)

Member Avatar for Fredep
0
93
Member Avatar for lemayian

That's a pretty big question to answer in a forum. I would recommend going through an Access tutorial or finding a good introduction to Access book. Having said that, the process of database programming is usually made up of the following steps: 1) Identify the tables you will need 2) …

Member Avatar for timothybard
0
103
Member Avatar for axxouk

I reviewed the document you attached; however, do you have any questions that you need answered? You mention that your ERD is half finished; are you unable to finish it and what do you need help with? I see you have author, publisher and authorship listed as entities, but you …

Member Avatar for al3amer
0
644
Member Avatar for 3Dees

I don't see how this makes a 2D array in to a 1D array. All it does is loop through all the 'cells' of the array and stores a number as Index. What, by the way, is rowNum? It is neither declared nor set in the provided code. I'm guessing …

Member Avatar for kvprajapati
0
1K
Member Avatar for solomon_13000

Yes, city and province should be different tables; however, in addition to that, do provinces contain cities? If so, then perhaps you should use the provinceID as a FK in the city table.

Member Avatar for solomon_13000
0
114
Member Avatar for Lightninghawk

MySQL and MSSQL would handle a database of that size with no problem. Depending on the data, you can use MS Access, but I'm guessing you would notice speed and reliability issues if you did.

Member Avatar for debasisdas
0
171
Member Avatar for chuckc

I would always recommend having a primary key; if you don't need it now, perhaps you will need it later; if nothing else, it will help you refer to records while debugging. MS Access does support compound primary keys; simply open the table in design view, select the fields to …

Member Avatar for chuckc
0
397
Member Avatar for Garee

I would recommend adding a tutorial group entity and a student assessment entity. I would remove the name attribute from the lecturer entity and add it to the staff entity. Lastly I would add a staff id attribute to the lecturer and tutor entities. After making those changes, a few …

Member Avatar for timothybard
0
124
Member Avatar for Martincruise

My first suggestion is to go to make a backup of the database and then go to Tools (from the menu bar), Database Utilities and select Compact and Repair Database. If that doesn't work, then I would recommend creating a new blank database and importing all the objects into the …

Member Avatar for Davidpoul
0
292
Member Avatar for nkk

To handle situations like this, I use a combobox in the header of the form. For this purpose, the row source of the combobox would be a SQL statement that selects the id from the childrens' table. The On Change Event of the combo box would have something similar to …

Member Avatar for timothybard
0
121
Member Avatar for badmanmc

Here are some recommendations I have: 1) Remove the car_id field from the buyer table; what is the purpose of that field? 2) Create a table to track the make of the car; instead of typing in the make for each car in the car table, I would use a …

Member Avatar for pclfw
0
95
Member Avatar for hasse76
Member Avatar for EshenZero

I would strongly recommend creating tables from scratch and not from imported spreadsheets. Spreadsheets usually won't be divided into the database structure you need. As far as importing data... with MS Access, you can import the tables directly into temp tables and then create queries or write code in vba …

Member Avatar for parblo
0
123
Member Avatar for Afi83

Below is the database structure I would start with: Student: ID, Last Name, First Name, etc Course: ID, Course Name Section: ID, Course ID, Section Name Enrollment: ID, Section ID, Student ID Assignment: ID, Section ID, Assignment Name Grades: ID, Student ID, Assignment ID, Grade

Member Avatar for timothybard
0
778
Member Avatar for rahulsaigal

It sounds like all you need is to build a query and use the WHERE clause. Doing a quick search will give you plenty of examples.

Member Avatar for timothybard
0
126
Member Avatar for Dukane

From your post, it sounded as if you used the table directly to enter and view data. I would recommend that you use a form to modify and view the data. With the form, you can add a make combo box and a model combo box. When someone selected the …

Member Avatar for Dukane
0
416
Member Avatar for engg_kavi

Can you better describe the problem? I use autonumbers for IDs, which allows the databaes to automatically create them and then I just have to refer to them if I need them. When I use autonumbers, I am not concerned with assigning my own values to them as they are …

Member Avatar for engg_kavi
0
61
Member Avatar for riyaza

You can either create a table (we'll can it the index table) that contains all the card numbers that should be in the database and then join it to your table to see if there are any records in the index table that doesn't have a corresponding record in your …

Member Avatar for timothybard
0
60
Member Avatar for tmoney7566

First, you need to make sure that the database is recording the number correctly. Does it record the digits after the decimal point? I only mention this because you had mentioned the use of integer, which does not record anything beyond the decimal point. The appropriate values for the field …

Member Avatar for timothybard
0
79
Member Avatar for radline75

I just wanted to mention that I have used that method as well and it is what I would recommend.

Member Avatar for timothybard
0
369
Member Avatar for NewJoizey

Just so I am clear on the issue; for a particular acquisition, it is okay to have two acquirees, but there can only be one acquirer. Further, you want the databaes to prevent the user from entering two acuirers but without the use of a "trigger". Is that correct?

Member Avatar for timothybard
0
135
Member Avatar for greeny_1984

The weekday() function returns the day of the week as an integer. The function takes a date and an optional beginning day of the week value as arguments. The dateadd() function allows you to add days to a date. You should be able to do what you are wanting with …

Member Avatar for timothybard
0
94
Member Avatar for ultra vires

Can you tell me what the fields in each of the tables are and what the table d contains? It seems like the issue you are having is that is that your join is creating an instance where each record for a particular month in your first table is being …

Member Avatar for ultra vires
0
113
Member Avatar for mevanga

Can you explain what you mean by taking days x add y days and store them as accumulated days? I'm guessing you are not trying to take, for example, an initial 45 days, add 50 days and then store 95 days. I'm guessing you are trying do to something along …

Member Avatar for mevanga
0
131
Member Avatar for KirkB

1) The two database management systems I would recommend are MS SQL and MySQL. Both are very stable and are widely used. 2) I agree with the single database approach. All related data (i.e. a single project) should be in one database. 3) Personally, I have found MySQL easier to …

Member Avatar for timothybard
0
124
Member Avatar for jmw229

This can be done with either a query or vba. If you do it with a query, then you are interested in using an update query. However, you will need a way to run the query. Either someone will have the run the query manually or it will have to …

Member Avatar for jmw229
0
124
Member Avatar for sadgrove

Just thinking outside the box a little... you could use a program that gives you remote access to a computer, such as PC anywhere, or by using VPN. Of course, you can always use MySQL or MSSQL, etc., as a backend and use php, VB.NET, etc. as a frontend, but …

Member Avatar for sadgrove
0
96
Member Avatar for flebber

I believe MS Access would be a good way to go with the description you mention above. Other possibilities are MySQL and MSSQL; however, that would, in my opinion, require more work than is needed for this project. With MySQL and MSSQL, you would need to run a MySQL server …

Member Avatar for flebber
0
118
Member Avatar for geetajlo

If salary is based simply on position, you can have a position table that stores all the positions and salaries related to each position. You can also have a table to track the history of employment so you can track what positions each person used to be at and the …

Member Avatar for timothybard
0
79
Member Avatar for jgallow

I am not able to view images that you are trying to link to. However, from your description, if sounds like you have a form and a subform. Are you trying to make it so that when the user clicks on the plus sign, the user is taken to the …

Member Avatar for timothybard
0
186
Member Avatar for jmw229

You are able to use subreports within a report; this is just like using a subform on a form. Here is a link to Microsofts solution on how to export a report to MS Word: [url]http://office.microsoft.com/en-us/access/HA010448891033.aspx[/url] The procedure is simply to export it as an RTF file. You should be …

Member Avatar for jmw229
0
111
Member Avatar for bappys2002

I'm not sure I understand what the problem is. For a library system that includes fining its patrons, I would create a database that tracks when the patron checks out an item and when the item is checked back in. After the item is checked in, it would see if …

Member Avatar for timothybard
0
132
Member Avatar for gruebz

I would actually go with MS Access for these reasons: 1) Easy to set up (the entire database is in one mdb file and you just need the Microsoft Access Runtime to use the database). There is no need to install a database server (such as MS SQL or MySQL). …

Member Avatar for timothybard
0
111
Member Avatar for mundetas

This sounds like something I have run into before.... I don't remember if this was the issue or not, but it is something you can try... If you have more than one field that relies on the year prompt, then instead of using [year] in each of those fields, create …

Member Avatar for timothybard
0
88
Member Avatar for Mongooseman

That is odd... I am using MS Access 2002 and it works fine for me. I would be surprised if the timing of the on current event changed from access 2000 to 2002. I thought the on current event always ran after the record was changed. Have you tried this …

Member Avatar for Mongooseman
0
118
Member Avatar for chatee

This sounds like a homework assignment... I don't want to simply give you the answer. What ideas have you come up with so far?

Member Avatar for timothybard
0
62
Member Avatar for laghaterohan

[QUOTE=laghaterohan;695616] I TRIED DECLARING THE TXTID.TEXT AND CMBATTENDANCE AS GLOBAL N TRIED CMBATTENDANCE.ITEMS.ADD(TXTID.TEXT) [/QUOTE] I don't know if this is a mistake in your code or if you just copied your code incorrectly to the forum... in the statement CMBATTENDANCE.ITEMS.ADD(TXTID.TEXT), since the combobox is on a different form than TXTID …

Member Avatar for jasondemon
0
148
Member Avatar for jmw229

I don't believe a multi-select listbox can have a control source. Instead, I have used multi-select listboxes and recorded the data using vba. I simply created a loop to go through each of the selected items and recorded each as a seperate record into a table.

Member Avatar for jmw229
0
154
Member Avatar for twity

I would recommend a new table that has fields to track the following: Room, Customer, Check-In Date, Check-Out Date

Member Avatar for timothybard
0
85

The End.