Link Images! Great! Some Questions For The Experts.
Jul 24, 2006
My friends,
I am trying as hard as I can to learn Access. I am developing a database for my signage design business. I've been at it for about 5 days already. I know this question would be a piece of cake for the experts in this forum.
When one of my artists finishes with an artwork, he will save this as a jpeg file. I want him to upload it to the database via a form.
1. I would like to come up with a command button that, when clicked, will open a browser on the users remote computer and enables him to find the file to upload.
2. When this file uploads, I want it to be saved in another directory, outside the db, and then linked to a field within the db.
I am setting up a database with an image linked to each record. I have installed Photo Editor as required to display jpeg files. However, when I try to insert object in the table field, Photo Editor does not appear as an option under 'Object Type'. How can I use Photo Editor as my OLE server to display jpegs? Or, can someone suggest a better way to display images on forms? I'm a newbie, so although I'll try more advanced programming if required, I will need quite detailed step-by-step instructions :)
Ok people i appreciate this might me a bit long winded but ANY help would be appreciated.
i have a table called "Customer_Details" and i have 3 other tables calls "tariff 1", "tariff 2" and "tariff 3".
The Customer_Details table has a form with the same name and on that form there is a field called "tariff" which is a drop down box with tariff 1,2 and 3 in it.
Also on the Customer_Details form is a Balance field which is linked to the same on the table.
finally there is a table called "data_live" this is continually added to on a day to day basis, the fields are : Acc No, Cost, Prod ID.
on the tariff tables each product has a product id
Basically want i want to do is on the customer form select a tariff, then when the data is entered into data_live the correct tariff is apllied to the product (via product id) then i think i am write in saying that i will be able to create a query that sums up all the prices for that customer (via Acc No) and displays the result in the Balance field.
here is the code I put in the OnExit of the InDate
If DLookup("[BeginDate]", "GroupEvent", "[In Date] >= [BeginDate] And [In Date]<= [EndDate]") Then
It works great BUT I need to get the Activity and Number field information from the record. I cannot use another DLookup cause it pulls the Activity information from the first record and not the found record. Any Ideas?
GroupEvent Table : Fields are BeginDate, EndDate, Activity and Number
Drag and Drop works great but how do I open a reports based on what I selected? I have two list boxes the first is "items not selected" and the second is "Items selected" now I want to create a button that open a report showing the result from "Items selected"?? Hope someone can help I've been to ms access web site but our firewall does not allow any down loads. Thanks in advance.
I need to complete a project for school for my computer class. I am having some problems with this one assignment. I am finished but want to know if anybody can help me. Just verify that the answer is right or wrong. Any input will be greatly appreciated. Here it is... Its just a fill in the blank so if anybody who knows MS access can help me that would be great. Thanks.
The word required are the ones with the underscores around them.
Fill in the blanks: 1. Some developers like to use the _Design View_ property for a field to document its contents, such as identifying a field as a primary or foreign key or providing users with instructions about entering values into the field.
2. A _Query__ is a database object that stores criteria for selecting records from one or more tables based on conditions you specify.
3. To select multiple controls, you could click a control, and then press and hold the _Shift_ key and then click the addition controls you want to select, releasing the key once all the controls are selected.
4. A form?s _Table_ is the underlying object that provides the fields and data in the form.
5. You can view a description of each property in a property sheet by clicking the property and then pressing the _F1_ key.
6. When you select a control, eight handles appear on its corners and edges. The larger handle in a control?s upper-left corner is its _Move_ handle.
7. A(n) _Data Type_ displays a list of values, and lets users select one from the list.
8. Each report can have up to _Over 300_ sort fields.
9. An advantage of using the _Table Wizard_ to create a table is that the sample tables and fields already have properties set that might work well in your database or that are easily changed to accommodate your specific data needs.
10. In Design view, you can use the _Property Sheet_ to set the properties for fields that do not use the default settings.
11. In Access, you can specify restrictions on the data that users can enter into a field by creating a(n) _Validation Rule.
12. If a user attempts to enter an invalid value in a field, the _Validation Text_ property for the field opens a dialog box with a predefined message that explains the valid values.
13. In Access, you define table relationships in the _Relationship_ window.
14. You use _Borders_ around field names to distinguish them from function names or other types of values.
15. When entering the data in a table in Datasheet view, you would press the _Control + Minus Sign_ key to cancel a record that you have just entered.
16. In Access, you can control the format of a value by creating a(n) _Input Mask_.
17. A(n) _Look Up_ field lets the user select a field value from a list of existing field values stored in the database or from a list of values specified when the field was created.
18. The primary objective of creating a(n) _Indexed_ field in a table is to prevent users from entering duplicate records into the table.
19. If an expression is complex, you can use _Brackets_ to indicate which operation should be performed first.
20. To move from one record to another in a main form, you would click the buttons on the _Navigation_ bar at the bottom of the main form.
I am new to access, so I haven't been able to come up to speed on all of the functionalities that it has. I have a table with a social security number, an effective date, a department, and pay periods. I have seven other tables with a social, a date, and absentee occurances. For any social in the seven tables, I need to subtract one pay period from the original pay period table based upon the max effective date that is less than the occurance date. I am dealing with large amounts of data, at least a million rows in the original table, and 50,000 in the 7 smaller tables. I know access may not be ideal for this solution, but it is what I have to work with. Any suggestions?
I have been trying to figure out how I can make the x-axis show month abbreviation names instead of numbers. Please see attached gif.
Currently, I use the Month([DateField]) function to get numbers of the month because if I use Format([DateField], "mmm") to get "Jan, Feb, March" the chart sorts the months in alphabetical order instead of the correct monthly order.
How can I be able to use the Jan, Feb etc... labels and have the chart sort them in the correct month order and not alphabetical order?
Ok guys, I've been eyeing this problem since June and I must say that I'm rather sick of it. After months of dredging the web, I've come to the find multiple mocking hits implying that the answer may lay somewhere in the Experts-Exchange, where i understand that some of you have been know to roam.
Without furthur blather, I must admit that im trying to avoid paying 12 bucks for this answer, especially as I've grown suspicious that this is a straight up MS/Adobe collaboration failure... and now for the problem.
When opening PDF files from my database (Access 2003) Acrobat (7 and 8) successfully opens the pdf. When I attempt close the PDF, nothing happens and I get the following Error when i go back to access:
The operation on the Acrobat Document object failed. The OLE Server may not be registered To register the OLE Server, reinstall it.
Hit Ok and the PDF file closes. ANNOYING AS H#LL.
I have repaired access, and acrobat. I have reinstalled. I have checked registries. I have updated .dll's. The only help I can offer is that when opened on an IT guys computer the problem seems to be gone. I'd bet this is because he has a pro copy of adobe. Basically I'm trying to figure out if i need to convince the powers that be to put a copy of Pro on any computer using the DB (if thats whats really helped), or if there is still some way I can fix this myself. Thanks gentlefolk! You (plural) are the rule.
Create a temporary table to hold the results. Use VBA to open the data table and temporary table in two recordsets. Loop through the records in the data table and place the data in the temporary table in the required positions.
I am trying to merge data with MS Word, but am getting problems. I only seem to be able to merge a single record. Can anyone help pls as this is quite urgent
I have a database created containing 2 tables. (tblAnnualService and tblCustomers). I have the Repair Order set as the primary key in both tables since it should never have a duplicate. I have a one to one relationship, enforce referential integrity and I have cascade updated related fields. The join type I chose is 3. Include ALL records from tblCustomers and only those records from tblAnnualService where joined fields are equal.
I have a couple issues ongoing at the moment. I have a button on the master form (frmAnnualService) used to input service information for each customer. This button runs and update query that updates tblAnnualService and all fields on this form are bound back to tblAnnualService.
With the setting on the relationship as listed above neither one of the tables is being updated. When I change my relationship and remove enforce referential integrity and cascade updated fields, change join type to 1. Change only include rows where joined fields from both tables are the same the tblAnnualService updates but the tblCustomers does not.
I have another form (a postcard mailer frmPostCardback) that is bound to the tblCustomers. I need to be able to from the frmAnnualService input the data, click the update query table button and have it update the tblAnnualService and the tblCustomers. I assume I do not have my relationship setup correctly. Can someone please assist? I some background with Access but need your comments to be specific and detailed so I can make sure I am correcting the issue properly.
I Need to eliminate repeat entries of Names in a Combo pull down list
I have since found out that this is possible with the DISTINCT directive in a simple query like SELECT DISTINCT [Name] FROM Miracle_Cloth_Main ORDER BY [Name] DESC; as the source property of the combo box.
It looks like ACCESS needs A primary Key included in the querry for the source property of the combo for the FindFirst function in the after_update event of the combobox to work with a code similar to
The Wizard generate the following code even if you don't select the Primary Key(RecordNum) during the creation process.
SELECT Miracle_Cloth_Main.RecordNum, Miracle_Cloth_Main.Name, Miracle_Cloth_Main.Cust_ID FROM Miracle_Cloth_Main ORDER BY [Cust_ID] DESC;
Even if you add the DISTINCT Cluse to the above code it doesn't filter the repeat data.
Is there a compromise where I can get the Filtering by DISTINCT clause to work with the code generated by the wizard so that I get the FindFirst function as well to work ?
I'm creating a database for my computer repair business and it's going to store details on my customers, their computers, and any repairs I carry out on them.
I've created some tables, but I'm unable to create the relationships I require between the tables. Here's what I have:
I want to create a one-to-many relationship between the tables left to right, excluding the Engineer table, which I will talk about in a moment.
The idea is - One customer has "many" computers, one computer has "many" repairs, one repair has "many" problems. Each repair has just ONE engineer assigned to it, although the engineer will be assigned to many repairs.
I can link the Customer and Computer tables, via the CustomerID, but when I try to connect the other tables, I get the "Relationship Type: Indeterminate" error.
Can anyone help me with what fields I need in each table, and what relationships I need to achieve what I need?
Good afternoon, I have a form with a subform and in the first txtbox of the subform in the GotFocus event I have a little procedure which checks the txtboxs on the parent to make sure that there is data in all four of the txtboxes. This works great the first time and it pops up a msgbox and it even setsfocus on the txtbox with no data in it, but if I tab into the subform a second time and there still is no data in one of the txtboxs on the parent form, nothing happens, no message and no setting focus on the txtbox with no data in it. Does anyone know of a way to get this procedure to re-set everytime a user tries to enter the subform? Thank you in advance to anyone offering and ideas and suggestions.
1) There are some databases here at work that I can open in BOTH A97 and A2K. I thought A2K won't open in A97, and before you can open an A97 in A2K, you have to convert? At least that's been my experience thus far. Any idea what is happening and how I can determine which version these databases are currently in?
2) With those same databases...assuming some were A97, the option to Convert them under Database Utilities is greyed out. Is this most likely a rights issue? Could it be anything else?
Recently I created a database using MS Access for the company and I am the Admin for it. The database is in the share folder and many employees are using it but if I want to take backup or modify any thing a message is appearing saying that one user open the database.
Is there any method to know which user is opening the database and in which PC (workstation) it is open. --------------------------------------
Is there any way of adding export fuction to the toolbar using modules or macro
Is it possible to have a table of 10 random questions and an inital form created with those questions in the form of checkboxes. When you chose random questions from that pool of questions a new brand form and table have the option to be created.
Basically, I have many external databases to research and some of the questions are the same in each database. Each database must be saved as individual tables and forms.
I have few questions so please bare with me 1- i want the text box to change automatically according to date so i tried this: if date>text14.text then text30.text=sea else text30.text=port but nothing happens 2-i made a form but not all the data rows in the table are in the form(there`s still some rows) so if i delete a data that are in the form how i can automatically delete the data that are in the other row ?
3-this may sound stupid..but is there a way to stop the access logo from apearing when loading the database?and how to make access directly open a specified form?
I am designing a database and have a couple of questions.
I have designed a form that I have opening at startup. How do I force this to maximize on opening?
I have set up a report based on a query. It works fine. The query requires a parameter to be entered when it is run. The parameter comes from a list (of teachers in my school). How do I set up the query so that the 'Enter Parameter' dialog box provides a drop down list of teachers from which the user selects their name?
I have a table that is linked to SQL server In this table I have a field that has thepath to an image C:TempImagexxx.pdf What I want to do is have a dropdown that the user can select a Notice Number and then have its image pop up in the form.
I have a Notice Number field and a Path field.
Do I create a Query to query the two fields. Create a Drop Down box and assign the query to the drop down box.
But then how do I get the image to popup...and in what and unbound object frame?
I am new to Access and have just designed a new database and was wondering if anyone could help with a few questions.
1/ I am setting up a Macro to send an e-mail on the change of a form. When the e-mail is generated by Access I get a message from Outlook stating that "A program is trying to automatically send e-mail..." and asks you to confirm that it is ok to go. Is there any way to bypass this check or alternatively send the e-mail from a specific e-mail address rather than the database user.
2/ I have changed the background colours on a number of my forms but the Record Selector's and Scroll Bar stay the standard Access Grey. Is there anyway to change these?
3/ I have used the User Security Wizard to setup users, groups and access but I can't seem to see a way to limit the number of simulateous logins a person can have i.e. I can log in more than once with the same user when I only want to be able to login once. Any ideas?
Hey guys, I'm just doing this database and have suddenly realised I dont know as much about MS Access as I thought!
Q.1 - I need to run a query that displays the top 5 records in a table, how would I go about doing this?
Q.2 - In my tables, I have of numerical data like the following... http://img276.imageshack.us/img276/2695/11ch1.png is it possible to make a Totals column which automatcily adds up the data in the Fraud, Competition, Loss of data, etc rows? (similar to MS Excel if possible)
Say your got a database that has many users & in which quite alot of information is added to it on a regular basis. Basically its getting slower, what could be the problems & how could you fix it???
Hi all, I built a system in access for my a level IT course a few years back but haven't had need to use access since. just been asked to build simple system at work and i'm forgetting some really simple things. trouble is i think i'm overcomplicating the terms and can't find anything in the help file!
basically the system is to keep track of how many hours various people have worked on various jobs.
I've got 3 tables:
Jobs - job id, location etc etc Staff - staff id, name etc link - job id, staff id and hours worked.
the job and staff tables have the id as the primary key, and i've set the relationship to link them to the corresponding field in the link table. which is all fine if i remember rightly?!
now what i'm trying to do is set up a form for entring the hours worked etc into the link table. we use job id numbers all the time so i have that as a drop down box. what i want is to have a drop down for employee names, which will insert the employee id into the link table- basically so we can work with names rather than numbers. for the life of me i can't remember how to do it. i know is really simple but i can't find a way to express what i want to do to search for it in the help or online!
if anybody can refresh my memory it would be much appreciated!