Forms :: Make Calculation For A Specific Row In Access Form

Jun 16, 2013

I'm pretty new to Access. I was wondering if it's possible to make a calculation for a specific row in an Access form.

I placed an example in the attachment (I made it quick in paint, because the actual Access form is in my language "Dutch" ):

Value1 and Value2 come from a database, so the amount of rows can change. When I click on "Calculate" on the first row, it should calculate 12 * 13 and show the solution only on row 1. If I click on "Calculate" on the second row, it should show the solution of 10 * 20 only on row 2.

I tried to solve this by using the following VBA code:

Private Sub Calculate_Click()
Solution.Value = Value1.Value * Value2.Value
End Sub

But if I click on the first "Calculate" button, it will fill all solutions with the first calculation (12 * 13).. The same happens when I click on "Calculate" on the second, third row etc.

View Replies


ADVERTISEMENT

Forms :: Calculation To A Specific Category

Mar 8, 2013

I have a form with the following:

A combo textbox with Category A and Category B.

An Amount textbox.

In the form footer, I have a textbox calculating the sum of the Amount.

This works fine but how do I create a textbox that calculates just the Category A or Category B??

View 2 Replies View Related

Queries :: Create A Query To Make Calculation From Form

May 16, 2013

I need to create a form that using combo boxes selects a product-size-quantity, and then calculates total price.I asume that I create a query to make the calculation from the form, but for the life of me, I can't fathom out how to do it.

View 3 Replies View Related

Modules & VBA :: How To Get Access To Make Appointment To A Specific Calendar On Outlook

Dec 4, 2014

I have been able to successfully set up code to be able to add appointments to microsoft outlook based on data within a few forms that I have. My question is this however, how do I get access to make that appointment to a specific calendar on outlook. This calendar is a shared calendar. Currently, access is just adding the appointments to "My Calendar" and I could like it to place the appointment on "HVCalendar". a version of the code I found online is listed below:

Private Sub btnaddappttooutlook_Click()
'On Error GoTo ErrHandle

Dim olNS As Object
Dim olApptFldr As Object

' Save the Current Record
If Me.Dirty Then Me.Dirty = False

[code]...

View 1 Replies View Related

Forms :: Make Specific Textbox Become Current System Date To All Records

Sep 24, 2014

I have a problem in my Database system. The title of my Database is Employee Evaluation. This is my problem.. I already make the default value the txtbox a current system date. but for the next day.. the txtbox for all record should become a current system date. but only the for the new record is the current system date. the all records are not current system date... I want from the opening of my system the textbox of all records are should be current system date.

View 14 Replies View Related

Forms :: Access Will Not Open New Form With Specific Data Instead It Returns All

May 2, 2013

I am currently creating a database in a hierarchical system that is to be used by multiple users to enter information specific to them. The tables are arranged like this:

Owners
Modules
Tasks
Highlights

Theses are connected using primary ID's and Particular Entries in the next table so they form a hierarchy - when you expand owners it brings up a list of Modules attached to that owner, then expand each module and it brings up a list of tasks associated with that module, expand the task and it brings up a list of highlights associated with that task. This is all very straightforward of course but what I would like to do is create forms that basically match so that the users can navigate from their name, through their modules and tasks and then add highlights to each task.

For this I have been using continuous forms to list all the different entries and inserting a button in each entry that I would like to link to the next form and find the specific data, however when I try to do this the button always without fail will just return all the entries from the form rather than the specific ones requested. I set up the button using the wizard and select 'open form and find specific data' and then select two entries that are identical on each form. I have trawled the internet quite a bit to try and find why this is happening and have inserted various bits of code etc into the embedded macro in an attempt to make it work but to no avail.

I wonder if there is something I need to activate on the form that the button connects to aswel or if I need to connect these forms using the relationship that I used to connect the tables (I am still using a unique identifier).If I connect to a single form it will display the first entry on the list (and I can cycle through them all) on a continuous form it will display all entries starting with the first.I would like it to display all entries for the selected record on the form.

View 1 Replies View Related

Forms :: How To Hyperlink From Query To Specific Record In A Specific Form

Jul 23, 2013

I want to hyperlink from a query direct to the relevant record in a specific form. I have a hyperlink field in the form which shows up in the query. When clicked in the query, this hyperlinks to the form but I cannot make it select the correct record in the form.How do I get it to select the correct record?

View 3 Replies View Related

Age At Specific Date Calculation

Apr 3, 2007

Hi

In need of some assistance please.

I am looking to calculate in a form someones age in years and months at a specific date.

I have tried various different functions but can't seem to work out where i'm going wrong.

The persons date of birth is entered manually into the "DoB" field. I then want their age to be calculated in a text box below this, if it needs 2 text boxes then so be it.

The specific date is 25/05/2007 (UK date).

I am currently using the datediff function but I need the calc to be more specific than just the year.

Hope this makes sense.
Thanks in advance

View 2 Replies View Related

I Need To Make A Simple Calculation

Feb 4, 2007

Hi,

I have used the Contacts template.

I want to make a simple calculation for mins remaining from sunbed courses.

So lets say one of my clients in my database was called Sally.
When I open up Sallys details screen I want it to show:
- What sunbed course she's on (inputed via details screen per course taken out)
- How many mins she's used (inputed via details screen per visit)
- How many mins remaining (calculated for us)

I don't know how to make these calculations!!!
I can not work out how to put formulas into the Contacts table.
Can anyone help me out please?

(see pic below)
http://img219.imageshack.us/img219/9760/accesssunbedzd5.jpg

View 8 Replies View Related

How To Make Time Calculation

Nov 23, 2006

Hi.
I'am trying to count: todays date -12 month.
So how I tell access that I want answer which date is year from this date?
Or how I must "write" 12 months in SQL?

View 2 Replies View Related

Make My Calculation Box Flash If The Result Is Less Than 2

May 1, 2007

I have a formula box in my form (textbox) called InventLeft that would calculate product in my inventory. I'd like to make this box flash if the result in it is Less than 2..This way it would catch attention to my user to order more product..Is this possible? Thanks in advance..

View 5 Replies View Related

Queries :: Query For A Specific Date Range / Calculation

Jan 22, 2014

I am trying to calculate the total hobbs time (Ending Hobbs - Starting Hobbs = Total Hobbs) based on a user inputed date range. The query that I created (see attachment) doesn't seem to give me what I'm wanting.

View 14 Replies View Related

Forms :: Form Combo Box Calculation

May 30, 2013

I have a combo box on a form that is liked to a table (current). That table has a list of available items and a count at the end of it. For example, apples, bananas, strawberries, blueberries, 4. Is it possible to have the combo box on the form subtract 1 from the count when an item is selected from the list? So when apple is selected the count of 4 is changed to 3.

View 4 Replies View Related

Forms :: Cannot Get Calculation To Display On A Form

Nov 12, 2014

I have a field called PriceSoldFor and I need to calculate and display this field multiplied by 3.4%. This is what I have tried and reading elsewhere it should work.In the Control Source of an unbound TextBox I have entered the following:

=[PriceSoldFor]*[.034]

But when I view the form the field displays the following:

#Name?

View 2 Replies View Related

Modules & VBA :: Access 2010 / Form To Table Calculation?

Jun 7, 2013

In Access 2010 is it possible to have a tblKits with a column on it Reactions 8. Then on a form a field Used. When thee user inputs 2 into the Used field can the Reactions on in the tblKits be updated to 6 automatically?

View 1 Replies View Related

Forms :: Displaying Result Of A Calculation In A Form

Jun 17, 2015

I am creating a driving school database and have four different tables. Student, Instructor, Lesson and Lesson Type.

In the footer of my subform which works out what lesson type the student has taken and from which instructor, I have created a calculation to multiply the number of hours a student does to what type of lesson they take.

=([LengthOfLesson]*[cost]) (This works ok)

I then want to add all of these options together. I have tried:

=sum([OverallTotal]) in the footer (This doesn't seem to work)

and then

=[Booking].[Form]![OverallTotal] to show it in the form

The name of the subform is correct (booking) and name OverallTotal is also correct but I keep getting #error message.

View 3 Replies View Related

Forms :: Form Load Calculation Not Working

May 12, 2015

I have a bound form to an invoices table. The form details all invoices raised, all payments made and an outstanding balance. The outstanding balance control is just a basic text box.

On form load, I go to the payment table and select all payments into a recordset, I then add up all payments and use the following calculation:-

Balance = InvTotal - paytotal

The Invtotal is the control on the form that has it's control source set as sum(invoicetotal)

The calculation used to work and the correct balance was displayed, indeed, for one particular client, the calculation works, but for all others, the summed value is blank and so the balance is effectively set to the paytotal value.

I know this is to do with the timing as the form loads and it's records/data are made available, as I have an update button that does exactly the same things as the form load and when pressed, all numbers work.....primarily because the summed invoicetotal value is now available in the form control.

I can see what is happening, but not sure why...I thought that form load gave you all records and would have populated the summed control before triggering the load event....obviously not.....

View 9 Replies View Related

How To Make Autonumber Begin From Specific Point?

Jul 31, 2006

Hi, I am hoping someone can help with this problem.

I have a table which has an autonumber field, set to increment by 1. I would like this to start not from 0 but from, say 1000. Is this possible? Thanks in advance!

View 2 Replies View Related

Forms :: Set Focus To A Specific Page On Tab Control In Access

Apr 24, 2014

If there a way to set focus to a specific page from a command button on a Tab Control?

I tried Me.TabCtl0.Value = 3.

But it doesn't work.

View 7 Replies View Related

Make Specific Field To Be Sum Of Many Other Fields In Design Table Without Using Codes

Apr 26, 2014

how can i make a specific field to be a sum of many other Fields in design table with out using codes

View 1 Replies View Related

Open A Specific Excel Doc From Access Form

Jul 5, 2006

I know how to create a command button to open excel, but is there a way to create a command button to open a specific excel file?

View 1 Replies View Related

General :: Login Access To Specific Form

Sep 4, 2013

I have a table called "tblEmployees" with columns "EmpName, EmpPassword, strAccess" in my table

The login form works but I wanted the user to go to a specific form that would be designated under strAccess

I have this code but it totally wrong to what I want it to do but not sure where to start

'Close logon form and open relevent page
Dim stDocName As String
stDocName = Forms!CopyfrmLogon!cboEmployee.Column(3)
DoCmd.OpenForm stDocName

[Code] ....

"stDocName = Forms!CopyfrmLogon!cboEmployee.Column(3)" - this is the line that needs to be debugged ... I need something that says open form specified in the the column "strAccess" of the "tblEmployee" tables

View 5 Replies View Related

Forms :: How To Open A Specific File Using Search Function In Access 2003

Dec 5, 2014

I have a access 2003 database, and i am wondering if i can't setup a search function in a form that will open a file in windows explorer?

What i would like to do is have a test box that i enter in a number for example: 1234 then have a button named "Search" hit that button and it opens a corresponding file in windows explorer named 1234, or just opens that folder directly..

View 14 Replies View Related

Forms :: Make Form Exclusive

May 1, 2013

When a certain button on a form is click it makes a sub form become visible, I am trying then to make this form exclusive aka, must be complete and stop the user clicking on the main form until this sub form has been complete.

View 5 Replies View Related

Sending A Form From Access Via Outlook To A Specific User

Aug 12, 2015

I have built a Travel database and what I'm trying to accomplish is sending the form. For instance, If I fill out the form with the travel information, expenses, destination, etc. at the bottom I specify a manager who needs to approve my request. I have two command buttons one to save the record and the other to submit. What I would like to happen is that when the person filling out the form clicks the submit button an email generates to the manager they've selected with a link of that specific form in the message body.Then when the manager receives the link they go in open the form approve it and then when the manager clicks the submit button I would like it to send the form to our financial personnel.

View 4 Replies View Related

Make MS Access Form Online And Viewing In Browser

Mar 17, 2015

I have developed on ms access project (MS OFFICE 2010) i am trying to make it online so anyone can open Forms through browser.

Does it possible to make ms access Form online and view in browser? if yes then how?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved