Can you work out whats wrong with this I used the sample database password system and tried to add a button to enable the user to change their own password. The problem was at the time that the change password form must open displaying only their own username, this is where the complication starts where i try to transfer UserID from the menu form to the Change password form.
I created table 1 and form 1 with employee names, addresses, etc. I created table 2 and form 2 that I track employee contributions to health, dental, etc. On my form 1, I inserted a command button to open form 2 and it works fine. My problem is when I'm on employee number 4 and click the open form 2 button, it always opens to employee # 1. I can't seem to link the employee data in form 1 to the data in form 2 for the same employee.
I linked my tables SS# to SS# and I thought that would do the trick. Can someone help?
This may have been covered already, and if it was I appologize. Searched for it but couldnt find it.
Any how, I have a large table of records (problem is its growing). It lists customers and dates. My table has way to many records, so i need to condense it a little bit. What i need to do is transfer contracts that have been fulfilled (by date) transfer to another table that contains records of contracts that have been fulfilled. I want to do this by a push of a button, automatically transferring any records that the date has passed to the pastcontract table.
I am currently studying for my A levels and need some help with microsoft access. What I want to do is transfer information from one table in my database to another. When it transfers however, I want it to alter under a certain validation. This is what i want to do;
Admission numberArt 011649 011650 F 011651 B 011652 C 011653
This is an example of the information. The letters regard to a GCSE result. I want the grade to be transfered to a table called "point score". Each grade has a value, A* = 8 points, A = 7 points, B = 6 points and so on. When the data is transfered to the point score, I want it to just state the point score and not the grade. Can anyone help?
I have three list boxes. Two of them has data from a database in them. I want to chose one piece of data from one index, and choose two pieces of data from the other list, and click a button to send it to another list(database, that would later be exported to excel). Does anyone know how I would go about doing this?
I am still trying to solve the following problem: I am trying to transfer data from one table to the other in a different folder using the follwing command:
By using the above command I could be able to transfer "tblSanTV" table from D:DBSsewertvinsp.mdb to another table in a different folder but it transfer the table and data together. But that is not what I want to do. All I want to do is to transfer the new data from one table to existing data in another table. These tables have the same names but different field names.
I tried the following command to solve my problem, but I end up with more problems than solution:
In the above command, I was trying to import data from "D:DBSsewertvinsp.mdb", tblSanTV" table to the general database. But I want data in the field "INSPNO;MAINLINE; SAN_MH_FROM" in "tblSanTV" goes to the corresponding fields in general dabase "tblSanTV" table, fiel "INSP#, MAINLINE ID#,US MH ID#" consecutively.
I want somebody help me out with this issue. Please help me. Thanks.
I have still an issue with tranfsfering data from two tabels to another two tables which have parental relationship. A while a go on this forum someone have suggested to me to use the append query but that only works to append to one table, which is not my case.
If I don't transfer these two tables together or at the same time, they will loose their relationship because of their relationship which is auto number.
I have tried to modify the append query SQL and didn't work for me. Please someone help me solve this problem or tell me other alternative way of doing this. Somone look at the following modified append query and see where I made a mistake or cannot do it this way:
I tried to modify the append query to the above format but didn't work. I even tried "inner join" to put the above table together but I could be able to make it work. Anybody knows how to solve this, please help. Thanks.
i have 3 databases containing data in the same format.
basically i work in a school, and have a database for 3 different classes.
each database has a table containing the childrens details(table a), and a linked table (through primary key in table a) to targets and points scote for each week.
--table a-- child number name carer address etc
--table b-- index child number (linked)(displayed as childs name in table, but stored as a number) week starting target 1 target 2 target 3 points 1 points 2 points 3 etc
now this database has been working really well. but if ever a child has to be moved class then i need to be called to transfer the records manually (because nobody else can do it) and i have to get the records manually and copy and paste them between databases. This works fine and i've had no problems. And the auto number in table a is changed from the original. but this seems to automatically corrolate to table b when i paste that over. so everything is working fine. but.... first of all, it creates lots of work for me when kids move classes, and also if i'm not there nobody else can do it. so.... i've tried using an append query to transfer the data. I tried using 2 append queries (1 for each table). but.... it works fine for table a, but i'm having trouble with table b. the append query for table b pastes all the records into the equivalent table on the other database through searching all records related to childs name on table a, therefore retuning all records in table b for that child. the problem....... when this data is transfered it transfers table a data fine. but table b is fine except for the fact that it doesn't transfer the childs name data (number), which i can kinda understand, but from what i can understand, my queries are doing the same thing as if i was to cut and paste manually and it works fine when i do that.
ok so its all very confusing, and i hope ive explained adequetly. oh and btw, i can't put it all in 1 database, because each class may need to access the database at the same time.
I have a subform called "Earthwork". I also have a query called earthwork200 and I need to dynamically transfer data from the earthwork to the query based on a certain column.
for example, the earthwork column i am using to transfer data to the query is "Desc" (the name of the column). How do i get data to dynamically goto the query as I click on a new item under the "desc" column?
I have a tbl called table1 which has 3 fields. i have a form called form1 which list field1 for all records in table1. when i double click on field1 i want to open form2, retrieve the data from table1 using field1 as input and display the results onto form2. can this be done just using Access or do i need visual basic? i am new at Access and have not ever used visual basic. i do know java. can you tell me how to do this or suggest a book which could explain it. the access book i have does not go into this type of detail.
and my job pickup form has the following code Option Compare Database
Private Sub Form_Load() Set rs = Me.RecordsetClone rs.FindFirst "[job id] = " & Forms!job![job id] If (rs.NoMatch) Then DoCmd.GoToRecord acDataForm, Me.Name, acNewRec Me.[job id] = Forms!job![job id] Else Set Me.Bookmark = rs.Bookmark End If rs.Close End Sub
i have a button 'Command6'... that opens my job pickup form from my job form. when i click it however i get the following error..
I have a access database with a customer table. And a excel spreadsheet wih customer details. I wish to transfer all the excel spreadsheet customers into the database - customer table.
The format of the customer table in the database is... Customer ID Customer Surname Customer Forename/s Position Company Name Address Line 1 Address Line 2 Address Line 3 Town/City County Postcode Telephone Mobile Fax Email Address Type Of Business No Of Employees Capture Method Preferred Contact Method Newsletter/Fact Sheet Update Auto Recieval Additional Notes Passed On to Partner Organisations Date Input Web Address Chamber Member Description Month & Yr Est Website ID Complained?
The format of the excel spreadsheet is.... Contact(consists of forname and surname) Role Email Tel. CompanyAddress(has to lines add 1 and add 2) City Postcode
I need to make fields match from the spreadsheet to the field table on the database?
can someone please provide me with steps as to how to transfer the spreadsheet into the database correctly?
I am creating a database for a hyperthetical car hire company. I have a table for the customer details, a table for car details, a mid table with current car hire information. I want to create a table for previous car hire information. Is there a way that i can transfer the details from the current car hire table to the previous car hire table without copying and pasting? (when the customer returns their car)
I've built a table and used it to build a form. One the form I have three boxes, one to enter the DoB, and two others that record the age and also put the individual into an age bracket.
In the latter two categories I have entered a formula in the Properties Box under Data & Control Source (the formulas are below) to automatically work out what the age and age bracket is when the DoB is entered. This works fine but the information isn't transferred back to the table.
Do I need to do the info in the table first and then update the form? And if so where do I enter the info in the field properties in the table design view?
Hi there, this is probably a very simple problem for people with experience of Access, however i have been having problems with being able to tranfer information from a query to a table.
I have made a query which displays a number of different items with their prices and who bought them (ie. booking ID)
I have then made a query which asks for the booking ID, then once you have input that it searches the items and adds up the price for all the items which that booking ID has.
both these queries work fine. The problem i am having is that i want to transfer this total price into a table. I have been able to do this by manually typing into the sql code the price, however when i try to get the query to collect the price itselfs, it gives the error "operation must use an updateable query"
btw i am making the query as a update query,
sorry if this post is a tad long and messy, thx in advance for any help
At work we have a website with a mysql database attached to it. It keeps data such as customer name address postcode contact id etc.
Currently our main database is made in access.
I need to transfer data from the website database (which is in mysql) to our access database. And would like this to happen regulary. We have been quoted £1800 for someone to do this!
As this is a new job i would like to be able to do this myself, is it hard to do?
Could someone provide me with some information of how to do this? or where to start.
I have set up some pivot charts in Access 2003 that open up on the click of a button. No problems. My problem now is that several PC at work are running Access 2000. Is there a way of easily getting this to work????Many thanks Eq
I have a subform within a form that displays filtered data based on dynamic selection criteria which is assigned to the RecordSource/OrderBy of the subform. On this form, I have a "Print Results" button -- OnClick, I would like the RecordSource/OrderBy of the subform to be copied to the Report, then run the report. What I have that doesn't work is:
I have 4 fields that are unbound on a form. img1 img2 img3 img4..When these are entered they are all combined and autofill another unbound textbox = imagename.. what i would like to do is from this unbound textbox 'imagename' ..i would like to populate a textbox that IS bound called FileName
[Event Procedure] Private Sub imagename_Click() Me.imagename = Me.FileName End Sub
My database has Main form and a Sub form. On main form i place one unbound text box named investigations. In subform of which datasheet there is a column named TestCode. I want unbound text box (Investigations) to display row values which selected in a column (TestCode) of subform.for example:Investigation field should display "CBC,HB,ALP".
I have a Form Display Data in my Access Database, which is working really well. However, users was asking if there is a way we can make Font Color Could/would change if The text in A field or Any field in my display form contained the word "SAD or MAD". Is there code for such thing in display form?..
how can i disable a textfield or two in a form when the textbox is unchecked also how do i add a default value for it while the textbox itself is disabled, can i get away with it by adding a default value on the textbox?
I have a form with two text boxes and a button. I want to be able to type a value into the first Text box click the button and the second text box to be filled with the value which is stored in the Table.
The first Textbox is called barTxt, The second Textbox is called CustTxt The button is called SearchBtn and the Table is called BookInTable. I have been trying to use the code.
Code:
Private Sub SearchBtn_Click() DoCmd.FindRecord Me.BarTxt.Value, , True, , True CustTxt.Value = "SELECT BookInTable.Customer FROM BookInTable " & _ " WHERE Customer = """ & Nz(Me.BarTxt) & """" & _ " ORDER BY Customer" End Sub
This however instead of displaying the Value for customer which is stored in the BookInTable. Displays The code SELECT BookInTable.Customer FROMBookInTable " & _ " WHERE Customer = """ & Nz(Me.BarTxt) & """" & _ " ORDER BY Customer"