Hi, AM very new to Access and currently (trying) to creating a DB to safe me time filling out my expense forms manual. (dark ages pen & paper) :confused:
I've used the same table/fields that this form would required if I was filling it in by hand. Am I able to create drop down box's with prefix information in these table/field? can you do this on Access if so how would you do this?
I would also like to calculate the mileage using the info from drop down boxes ie from leeds (value of 2) to Manchester (value of 10) based on standard mileage I can claim for (0.10p) = (£2.00) in my remarks field I would wont to be able to prefix this i.e 20 (being the value of 2x10) miles each way @ 0.10p (being the set mileage)?
Am trying to use the same form that I would fill in manual. But having difficulties trying to fit this in forms. I've changed the paper layout & margins etc but still missing about a inch of information that's required on this form :confused:
The form will only allow you to fill in 11 lines of info b4 you need to fill out another form
How would your database know when to create a new form when the 11 field/lines have been filled with data?
How do you add up your columns?
How would you bring a balance b/fwd to you next sheet leaving only 10 lines of info to be inputted?
Any help with the above or any direction or further informatin required would be much appreciated
I have an expense report I am trying to create. Expenses are 1 of 4 things (monthly, quarterly, semiannually, or annually occuring). If I enter a record say today: 8-04-2006--Window cleaning--$400.00--yearly
Is there a way to get it to automatically re-occur on the same day next year. (I want it to automatically reapply itself next year, not today showing next year. does this make sense?)
I have attatched a word document showing values and what I need. I want to create queries (monthly, quarterly, semi-anually, yearly). I am working with the monthly right now and if I can figure that out I am assuming I will be able to figure the others out the same way. For the monthly report I want to divide the quarterly amounts by 3, semi yearly amounts by 6, and yearly amounts by 12. Then I want their respective values to appear in the monthly statement. How do I do this?
I have an expense table and I want the expenses to be written to a new table every month, quarter, half-year, or year depending on what the user has selected. I want to group the expenses somehow and I want it to show all monthly expenses, then show which ones have +1 month. All those will get put into a append query and added to a new table that stores all the expenses from hence forth.
Alright, I have started to figure it out ( a problem from earlier) but I think I need some help. I want an if statement but I am not familiar with date functions. In an append query I want to look at my original table and add records if it is past a certain date. For a monthly expense (entry date is 01/01/2006)
I am working on a personal expense ledger. On a particular field that is labeled [expense/income], and a field labeled [amount]. the [expense/income]field is a listbox field "with expense and income as the values. Here is what i want to do. when i select income from the listbox i want it to sum the total in the amount] field, and if i select expense i want it to subtract the total in the [amount] field. i hope i explain it correctly.
I have a subform in columns that has a list of invoices bound together by the site number on the form there is a Expense code that runs 51 to 95.
On another tab I want to add all the invoices for a expense code together and display the total amount
Below is an example of invoices
IDSite CodeInvoice DatePOInvoiceContractorInvoice AmountExpense Code 10289S20/09/2013 346603410Dj Commercial Cleaning Ltd 25.2362A 20289S28/09/2013 346061141Platinum Landscapes 240.0055A 30289S03/09/2013 353112021Clean And Green 167.0063A 40289S02/08/2013 353112015Clean And Green 174.0063A 50289S19/08/2013 111115271Southern Electric 189.5679A 60289S19/08/2013 346061121Platinum Landscapes 240.0055A 70289S02/06/2013 353112009Clean And Green 160.0063A 80289S02/05/2013 353112003Clean And Green 181.0063A
hello i have created an ordering sheet for my company. i want to know if it is possible to automatically record the time of each order made? If possible could someone tell me how it is done?
Also is it possible to put a clock in an Access database?
hello i have created an ordering sheet for my company. i want to know if it is possible to automatically record the time of each order made? If possible could someone tell me how it is done?
Also is it possible to put a clock in an Access database?
I'm trying to get a database that can track our employee's hours worked. I have come up with the attached file but it doesn't work right.....If someone clocks in at 6:57 am and clocks out at 7:00 pm it says we should pay them for 13 hour and not 12. I need it to round on the quarter hour so if they clock in at 6:45 am and clock out at 7:00 pm it should pay them for 12 hours. We have people that work 24 hour shifts on a regular basis so I think I have that figured out in the the query I have but I'm not 100% sure.......and I need it to work right.
I have a database that contains all the employees info. and I wonder about the following small cut that represent the monthly Time Sheet of an employee .. How can I implement it ?
I have 2 table currently linked together using a one to many relation. Rather than manually updating the information each day in table 2, i want the same format of data but using a linked excel sheet. This way the information can just be updated elsewhere by the excel sheet. I can't seem to get the sheet to link in the one to many way though, just intermediate. Is this possible?
This is my first time here. I am trying to perform a operation but not sure how to do it. Let me try to explain.
I have Access 2000 on my Vista computer and I have a Access database with patient medical records listed in multiple columns. I can sort them with no problems BUT what I need to do is go into the subdata sheet of each patient and do a sort out on one of the columns. My question is, is there a way that I can sort a specific column in my subdata sheet either by the checked box or no checked box? What I am having to do is go through each patient and delete each session that does not have a check mark and that is very time consuming. There has to be a quicker way of sorting and deleting what I need from that column.
I have an Excel sheet that I'd like to bring into an Access Form -- populate the Excel cells with data from textboxes on the Access Form and print it. I tried copy/pasting various things in, but it's pasting even text from a cell as an Excel object (let alone joined cells and images). Where can I find more information about this?
I found http://support.microsoft.com/?kbid=210288 But, when I put that code into the form for saving text from a text box to an Excel cell, it tells me that the word "Set" is a "Compile error: Invalid outside procedure."
Also, how do I refer to a joined cell? I've found that I can copy from a joined cell, paste into a host cell and select "Paste Link". This puts an absolute reference to the joined cell in the host cell (=$A$7, for instance) and when I change the joined cell the host cell is changed. Pasting =$A$7 seems to merely put the face value of "=$A$7 into the host cell.
In my database I have all my clients information in the [Main] form and all their transactions / debits / etc. in a subform [Transactions] in datasheet view. My question is how can I have the subform automatically scroll down to the last record (or to a new record) so the user doesn't have to scroll down everytime a new client is viewed?
Hope someone can give me some pointers. I have a report for a delivery ticket this prints customers address + delivery ticket number. Below this heading it list all the items associated with that delivery number.
What I would like to have it do is print one copy of the report on the top half of an A4 sheet of paper and then Print the same copy on the bottom of the A4 sheet.
This would give me top half copy as delivery copy and bottom half copy as customers copy. The sheet would be perforated across the middle to allow the driver to tear the sheet in half and leave the customer with their copy.
find a way to automatically copy data from an access query to a sheet in excel at the end of every month we record financial data from our database into an excel sheet for our accountants. im still designing the query to format the data exactly the way we need it, which is why im not too clear on all the details (have a meeting with the accountants on wednesday to confirm everything, but im hoping to get most of the function written by then at least)
Ive already got the pathfilename and worksheet name stored in variables (excelFile and workSheet respectively) and ive worked out a way to store the row number (in a variable called simply rowNum), i just need to add one record to that specific row, from columns B to I) and for now lets just assume the query would be qryFinancialData. simple way to export the data, ill be formatting the query so that the first field in the query will go into column B, second field will be C, third field will be D, etc.is there a quick way to open the file, add the data to the right columns/row and close/save the excel file, all through VBA?
i have the following code to get excel sheet name and last row number it work fine with no problem but when i go to next record in my form and press the button agin it produce error 91 "object variable or with block not set"
Code: - this code to get sheet name and last row in column A -General declaration Dim LastRow As Long Dim SheetName As String 'Declare Excel file Dim strPath As String Dim ApXL As Object
I had scanned these forums, but i didn't see what I was looking for. I'm new to access, my intern ship short of threw me into it. eh' but that is not the point.
I have to build a circulation spreadsheet, and my bosses would like there to be pictures for each item. Any ideas on how I could do that? Thanks for your time.
hey group How can i have something like this loop to run from ccess application which is already currently opn and where work is done ?
With objActiveWkb.Worksheets("Reconciliation Sheet") For ii = 5 To 200 If Range(ii, 9) = "NO" Then Range(ii + 1, 9).Interior.ColorIndex = "yellow" End If Next End With
I always feel as though I'm asking a stupid question but here goes. I am making a database with sub tables and sub forms, and working from "Access 2003 inside out". When I open table properties and enter a subdata sheet name and fill in child and master links everything seems fine until I try to save it. I open the table properties window again and the sub data sheet option has returned to "auto". Am I doing something stupid or is there a bug in my system?
I'm trying to import a sheet from a excel spreadsheet.
this is my "code"
The problem is that when i hit the run button, it imports blank sheets or more likely is not importing at all :confused: :(
On Error GoTo ErrorTrap Dim dlgOpen2 As FileDialog Dim countrystring2 As String
Set dlgOpen2 = Application.FileDialog(msoFileDialogFilePicker)
With dlgOpen2
If txtFile2 <> "" Then .InitialFileName = txtFile2 countrystring2 = txtFile2 & "!RB_UPDATES" Else .InitialFileName = CurrentProject.Path End If .AllowMultiSelect = False .Show End With If dlgOpen2.SelectedItems.Count <> 0 Then txtFile2 = dlgOpen2.SelectedItems(1) End If Exit Sub
I have a datasheet subform on my TimeSheet for for my volunteer database. What kind of code do I need for a command button to "punch out" a volunteer. TimeIn is easy, I just set the default value to Now(), but I don't know how to do that with the the TimeOut.
I have written a piece of code in Access that creates a Excel work book. The work book is populated with the various data and then made visible to the user.
Everything is working perfectly apart from one minor problem.
When creating a new workbook excel automatically puts 3 worksheets in... If the code creates 1 or 2 sheets of data I want it too delete the sheet that is blank. This is easy to do although it always prompts the user for confirmation.
How do I delete a worksheet without the prompt?
I have hunted everywhere for the answer and can't find it anywhere, any help would be great.
Example of code:
Dim XL As Excel.Application Dim WkBook As Excel.Workbook Dim WkSheet As Excel.Worksheet
When I print reports, Access is printing 2 pages per sheet, making the text VERY small. However, EVERY setting that I can find, whether the main printer setup or the Access program itself, shows that it's supposed to print only ONE per page.
The only program that this occurs with is Access. Is there a setting somewhere that I'm missing? Thanks.