Help With 1 Form, 1 Report And 3 Tables Interaction.
Jun 19, 2005
Hello All,
BackGround: I recently started to use Access. I have been around MS Office products for quite a while but never used Access until I got my current position. I have made automated forms with MSWord and macros but Access is a different machine.
I have 2 simple tables the first one is as follows. It has 3 information columns and the autonumber.(Primary Key) The table contains hotelname, hotelph, hotel fax.
The second table I have. It has 6 information columns and the autonumber. (Also Primary Key) This table contains. guestname, rank, ssn, requestedhoteldate, durationofstay, remarks.
Both of these tables correspond with a form. To make things easier I only put the hotel name in the form as a combobox, so you don't have to type in the hotel information every time. Now my question.
I need to take the chosen hotel and the information entered and put it into the completed Report to print?
I suspect that I will need a third table that combines the information from the form, and link that to the report but I can't figure out how to get just one hotel to show or the relationship I need between the form and the tables.
Thank you in advance,
Michael
View Replies
ADVERTISEMENT
Aug 3, 2005
I do not have any programming knowledge and have what might be a simple question.
I am having a hard time getting my hosting company to modify the rights on the data folder where I store my access database. They state they support ASP and access databases however this is the response I got when I requested the modify permissions set for the internet guest account:
No, we do not manage rights to folders.
My question to you is: Doesn't supporting asp require those permissions be set on the database folder or can asp work without those rights modified?
View 1 Replies
View Related
Jan 3, 2005
Does access have a way to automatically generate a web page with a form that can allow a user to input his criteria, and when a submit button is clicked, automatically update the database?? Also, is it possible to generate through access a button that links back to a query. Or is all this something that web page developer would have to do and code, and the database would only be an underlying element in the code.
For more clarification, the web page that i need designed should only contain a single form to allow a user to add their information to the database, not the ability to view other entries, or make changes to other entries. Also, the query I would want should only display information regarding a certain field in the form the company just created for themself.
Thanks for any and all help.
View 1 Replies
View Related
May 22, 2013
1. In a form that I have created, I have a checkbox that I want to have checked when the form (ticket) that was filled out has been completed by our company. I want the checkbox to only be accessed by us. How do I achieve this to only certain users have access to check that box?
2. I have a main screen that the form is able to be accessed by. In that home screen I have a query that shows what tickets have not been completed (checked). How do I get those tickets that have been checked, to not show up on that screen?
View 4 Replies
View Related
Dec 26, 2012
I need to pull data from multiple tables in order to show a "financial summary"..Currently I have: Company; BalanceSheet; Debt; Liabilities; Income..All tables have a lot of information (which is why I built them in multiple tables).
I need to build a form where I can use a combo box to select a company from a list.Once selected - I need to the form to pull selected information from each of the above tables. (As well as perform some math functions).I've been struggling with the relationships (They don't seem to make a difference) and I believe I am above and beyond what the wizards will accomplish.
I have read thread after thread but cannot seem to find a specific answer on how to accomplish this.To make matters more complex - Once finished I want to be able to select multiple companies and create a report from the fields mentioned above (IE: pick company A, B, and C and have all of there "current Assets" add up on one report)
This task was originally achieved using an Excel spreadsheet but it has become to confusing for users and difficult to save information for future use.I believe all of my fields are constructed correctly. how to compile the data from multiple tables into one form/report.
View 5 Replies
View Related
Jun 3, 2014
I'v looking for since a couple months a go to make a report direct from access form using crystal report but i havent found it yet. I'v tried this code and its giving me errors. " run time error 1004 method range of object _global failed "
how to make a report using crystal report direct from ms access as front end application ? is it possible to use crystal report ?btw i use database sql server 2008 and MS Access 2007 as my frontend application.here's the code that i'v found and gives me an error
Dim CR As New CRAXDRT.Application
Dim rep As CRAXDRT.Report
Set rep = CR.OpenReport(Range(" ??? ")) * i getting error in this line, what should i do to fill it ??
rep.ParameterFields(1).AddCurrentValue "Boston"
rep.ParameterFields(2).AddCurrentValue "Cars"
rep.Database.Tables(1).SetLogOnInfo "tool", "db_tsel"
rep.ReadRecords
rep.PrintOut promptUser:=False, numberOfCopy:=1 ' promptUser:=True doesn't work
View 2 Replies
View Related
Jan 30, 2013
I have two table district and grant (which are one to Many ) it save the data but i like to generate a report which get value of both district and grant. where it show the value such as
1 (these are districts Primary Key)
3
2
5
I like to get the District Names
such
aaaa
bbb
bbbb
cccc
dddd
not value
View 3 Replies
View Related
Sep 29, 2005
Hi all,
This may be dump question. Don't laugh at me..Can I display the data from two tables in a report without using a query. Why I need this because I had two tables which has no common fields in that... Or if there is a way how can I do that....
thanks in advance
Thanks
View 5 Replies
View Related
Aug 25, 2004
Hi,
I am trying to get data from 19 tables for my report. I add them all in the record source property of the report and when i save it, this message is dispayed:
"The string produced by the builder is to long.
The Results will be truncated."
And on another report it says there is a error in my sql statement, but i have checked trough it and there is no errors.
Is there a limit to how many records you have have in a report?
Any help would be much appriciated!!
Ben
View 3 Replies
View Related
Mar 31, 2005
Hello lovely people,
I am not even sure that this can be accomplished but I have 3 tables with only one common column of information that need to be merged into one report if possible. If this cannot be done then I can do 3 individual ones, it just isn't as polished as I'd like...
I am collecting information from schools regarding 3 different programs that are unrelated in anyway other than they took place at the same location. For example:
Table 1:
School A Event 2
School A Event 3
School B Event 2
School C Event 1
School A Event 3
Table 2:
School A Performance 1
School B Performance 1
School A Performance 2
School A Performance 3
School C Performance 2
Table 3:
School A Workshop 1
School B Workshop 3
School C Workshop 3
School C Workshop 2
School C Workshop 1
What I would like to end up with is
School A
Event 2
Event 3
Performance 1
Performance 2
Performance 3
Workshop 1
School B
Event 2
Performance 1
Workshop 3
School C
Event 1
Performance 2
Workshop 1
Workshop 2
Workshop 3
Is that even possible? Thanks so much!
View 8 Replies
View Related
May 18, 2006
Hi all,
I am a complete newbie so please beware/be patient.
What I am trying to do is to create a report from two table, using the wizard it starts complaining about the relationships between the two tables, though I only want to produce the table on one report.
Please help.
Thanks,
The Gurkentopf
View 1 Replies
View Related
Sep 29, 2007
I'm a genealogy nut and not so great at computers. I've got a report on cemeteries that gets things like a cemetery number, peoples names and tombstone information from one table. Got that working pretty well. I've got it to print the cemetery number in the detail header (there are 300+ cemeteries each with 1-100s of people in each). I want to take that number and use it in a different table to get travel directions and GPS for each cemetery.
View 3 Replies
View Related
Jun 2, 2015
I have been trying to design an Access 2013 desktop database to report on user access to shared folders within the company I work for. Acess to folders is granted by users being added to a permission group and groups being added to folders.
What I want is to be able to query the data and find out which users have access to which folders. My tables are currently:
tblGroups
GroupID: PK Autonumber
GroupName: Short Text
GroupType: Lookup (Permission; Distribution; Mailbox Sharing)
[Code]....
If I do have to have a junction table is there anyway it can autopopulate from the other data entered?
(Access 2013 is the version I am using)
View 13 Replies
View Related
Nov 11, 2007
Hi,
I have problem with pdf-ing a report that has record source coming from a query namely from the two tables joined based on the same of several fields (foreign keys).
I have PDF coding that would turn Access report to PDF report. It has no problem when the report's record source is from one table only.
Just wonder if anyone who might have a similar issue would like to share with me some help. Is it normal that PDF doesn't work if the report comes from joined tables in Access?
Thank you in advance
View 3 Replies
View Related
Mar 25, 2015
I have produced a query, which counts the number of records fulfilling each set of criteria, but I can't now convert that into the matrix presentation.
I have a attached a copy of what is produced currently through Excel.
Basically each count on the query represents one of the boxes within the matrix. For example if the record Impact is 1, and the Likelihood is 1, then it would be counted within the bottom left hand box.
View 6 Replies
View Related
Mar 4, 2013
I have a database of students that have taken tests. That database includes how many attempts it took them to pass. I have successfully generated reports that sort the exams by type, date, student, etc. I would like to also somehow insert a formula to show the pass rate of those exams on the top of the report. I know I can get into design view and build an expression, but how would I build an expression that would create a pass rate percentage based on whether or not a student passed an exam on the first attempt.
I have a DB with a column titled "Attempt" and the options "First, Second, Third, Fourth". I would like the expression to generate a percentage of students that have "First" in their box (as opposed to anything else) out of the total number of student records.
We need to track student pass rates in my school for a re-certification process.
View 3 Replies
View Related
May 17, 2013
I have 3 different tables in a DB that I need to combine to get information on for 1 report.
table 1- Has the main info, (CR#) doc number, when issued, due date, etc...
table 2 - Is a Status table which in form view will show date and time of the status of a document and who has it.
table 3 - have what type of document it is and how many submitted.
The reports needed are: open status (what is the status of that doc. who has it and only need the last status) and the report needs to have on it: the cr #, what type of doc.
I have done a query combining the 3 tables and it is not showing correctly here? I just need the last date entered into status.
SELECT Max(tblsignatures.date) AS MaxOfdate, (([ReportDate]-[DateIssued]))-((DateDiff("ww",[DateIssued],[ReportDate]))) AS [Total Days], tblsignatures.status, tblitem.ReportDate, tblcr.CR, tblcr.DateIssued, tblcr.DueDate, tblcr.ClosedDate, tblitem.item, [DueDate]-Date() AS DueDates
FROM (tblsignatures INNER JOIN tblcr ON tblsignatures.cr = tblcr.CR) INNER JOIN tblitem ON tblcr.CR = tblitem.cr
GROUP BY tblsignatures.status, tblitem.ReportDate, tblcr.CR, tblcr.DateIssued, tblcr.DueDate, tblcr.ClosedDate, tblitem.item, [DueDate]-Date()
HAVING (((tblcr.ClosedDate) Is Null)
View 2 Replies
View Related
Jul 4, 2015
I am trying to generate a count report from a multi-table Access database. It is a recording database with a songs in one table, recordings in a second table, and a third table that links the two. I am trying to generate a report of songs with the most numerous recordings in the database.
For this operation, I don't need the recordings table. The main question is: For each title in the songs table, how many records are there in the links table with key number <50000? More specifically, for the report, I only care about the ones with a count >= 10.
Ideally, my report would look something like this:
65 Moon River
58 White Christmas
43 Autumn Leaves
42 Way You Look Tonight, The
etc.
As a corollary to this, how would I add a current, dynamic count to the form I use to access the database. Whenever a song title is pulled up, a field would show the current count of records in the links table with key number <50000.
View 1 Replies
View Related
Jun 2, 2006
Could you please help me out.
I am trying to develop a DB that is multi user. i ahve not split the data from the forms into separate db's as the users are in different locations and our network can be very slow.
part of the requirerment is to produce a drawing approval form, my current sticking point is that the method i am currently using to create the forms only allows one person at a time to use the process.
currently i have a command button that runs a query and then creates a table from the results. the table is then used as the data source for a mail merged form in word.
what i ultimatly need is a process which allows multiple users to generate these forms at the same time and have the ability to save the form (with no code behind it) as a word document (either RTF etc)
i am thinking that if i create a query on the fly in VB and then use the results to use in a report this would allow me to do the above.....
So my questions are:
1) is my assumption correct
2) If so, how do i do it as i have never done it before
3) If the above is not the best solution/ does not work... what will/is
View 4 Replies
View Related
Sep 24, 2007
I have a slight problem here with a database program I am designing. I have two excel spreadsheets, one created by one department here, and the other created by a second department.
I have the access program importing the relevant fields from both programs into 2 tables. Table 1 is the listing of employees in the company and their info (minus the location where they work). Table 2 is the listing of employees who are in this facility.
I need to prepare a report of all employees in this facility who appear on the other table.
I have a field in each table (both called F1) with the employee names.
Is there a way I can run a report in Access where it pulls all the info I need into a Report as long as the name appears in both tables F1 fields?
Even if I can create another table based on that info, and then just do a full dump to a report from that new table, that would be great.
I am not familiar with VB or SQL really, but I figure something like this would be doable, I just don't know how to go about writing it :
If Table1.F1 == Table2.F1 Then {
Append Table1.* INTO NewTable3
}
Something where if the name on F1 in Table1 matches the name on F1 in Table2, it takes all the data from that record and appends it or dumps it brand new into a NewTable3..
Any help is appreciated.
Thanks,
Bill
View 1 Replies
View Related
Nov 8, 2014
I'm trying to create a report with data from 7 different tables. It's supposed to be an assignment overview for a transfer company (driving people from A to B, dunno how to call it in English). I put assignment and customer details into the page header, which is working out fine so far. But now I want to show transfer details and it's proving to be a bit troublesome.
When creating the assignment, the user can choose whether the transfer goes from/to an address or from/to an airport. Depending on which one he chose the data is stored in different tables. To determine whether it is an outward journey/collection, outward journey/target, return journey/collection or return journey/target, I put a field in each of those tables ("Schritt", its value being either 1, 2, 3 or 4).
To visualize I made screenshot of the tables in relationship view, but since I'm a new member i can't seem to post images, so I'm giving you a pseudo URL...
[abload (dot) de (slash) img (slash) transeren40p1r.png]
The final report should look like this:
outward journey
---collection (1)
---target (2)
return journey
---collection (3)
---target (4)
Having the "Schritt" value for each step in either one or another table (address(es) or flight data) is making it a bit hard for me to wrap my head around the problem. Is that doable with expressions or is there a way in VBA to solve this problem?
View 7 Replies
View Related
Apr 1, 2015
I want to populate a table with the database's reports.
And somehow be able to select a row and open a report in design view.
View 4 Replies
View Related
Mar 11, 2014
I have 3 tables.
One is a list of fishermen with all their info. I used a Code as the primary key.
The 2nd is a fish ticket sheet with fish tickets entered and the code in there as a foreign key in the relationship between the two.
I create a report listing the fish tickets and prices perfectly for the 4 fishermen I have entered fish tickets for. (I have 140 fishermen in the main table)
I added a 3rd table for payments made to the fishermen. There are two payments for 2 of the fishermen.
then, I go into report design view and drag in two of the cells from that 3rd table into my report.
The problem is the report then prints JUST the fish tickets and payments for the two fishermen that have payments...not the info for all 4 fishermen. I need to print out settlements for all the fishermen whether they have payments or not?
View 1 Replies
View Related
Jun 13, 2013
I have a parameter query for looking up a specific lot number in my database. The lot number table has 4 related material tables that deal with material issued, reworked, and rejected for that lot number. They lot number table is in a one to many relationship with the related tables.
I have a report based on this parameter query with 4 subreports. I want the report to display the lot number data and sub reports to display the related data in the material tables (all linked by the lot number defined in the parameter)
View 1 Replies
View Related
Aug 8, 2013
I am trying to produce a report that shows a single record that has fields in multiple tables. When these reports we're in Word form they were about 7 pages long. I put them in access to be able to update the data in one or more than one of them at a time more effectively. But now I am unable to get them print out one at a time like they looked originally in Word form.
View 1 Replies
View Related
Nov 12, 2012
I have a feedback database with 3 tables, one for complaints, compliments and other. They have the standard common fields such as name, address, date received, nature of enquiry, investigating officer etc etc.A person can have more than one record in the complaints table and that same person could also have 1 one more records in the compliments and others table. What I would like to do is to be able to display the data for that same person that appears in the complaints, compliments and others table in a report using a search facility by either name or address. This will therefore display the number of times that this person has made contact together with dates and the reasons.
View 1 Replies
View Related