My God, Am I This Stupid? :) Newbie Yes But Still..
Mar 2, 2006
Evening folks :)
Been trying to find this on google for a while, but am not really sure about how to express my self in few words (being the norwegian that I am) so I turn to you for help! :)
Im having two tables which I want to join into one with a query.
I want to keep all data in table 1 and suplement it with info from table 2. Should be easy enough, at least thats what i thought. Cant get it to work here so if anybody can help me out i would be EXTREMELY grateful :)
Table 1:
artnr
description
minant
Table 2:
artnr
minant
Connected by artnr
Table 1 has approx 1500 lines and Table 2 has approx 2100. I want to keep all lines in table 1 and suplement that one with info from table 2, but I end up with a query with approx 1200 lines.
Table 1 does contain 'artnr' that Table 2 doesn't have and vica versa so I assume that the ay i do it I end up with the query only with the ones that has the same 'artnr' in both tables. Still my question is:
How can I keep all info in Table 1 and only suplement with info from Table 2?
hmm.. I agree, not the best way to put things, but it's the best a tired norwegian could do at the end of the day.. :)
New to Access and learning quickly, but some things just throw me.
I have a database that adds rows to a table as certain command buttons are selected. It frustrates some of the users because every time they click the button, a warning comes up, "You are about to append 1 row(s). Once you click "Yes".... and on and on.
What's the easiest way to remove this notification?
I am wondering if when i run my report is there anyway that the detail of the report can become objects that say i could drag and drop into a Word Doc for example. I am trying to create a tool that will allow me to see all jobs from our maintenance mangement system at work, i have managed to achieve this but i was wanting to be able to view the jobs on a report and then basically just drag them into something else and wahey i have built my plan for the week.
Maybe i am hoping for to much but i though i would ask anyway.
right, deleted my last post.. think is is more down to the point!!!
got every table sorted so far, just one stupid relation.. I have to link the results of a horse race to the horse but cannot figure out how!!!
I have a table listing all the horses (names, dob, value colour) but need to create a table to list what place the horses finish during the 6 annual races - I tried to create a table with (date, race name, place name, 1st, 2nd, 3rd etc) so I can type in which horse finishes where for each race and then AaRrGgHh cannot work out how to link it!
I know I probably need more tables but Its starting to annoy me.. any suggestions would be greatly appreciated!!
the db can be found at http://www.pokernuts.co.uk/access/server.mdb (200k) and I have attached a picture of what I have so far (relationship wise)
i probably want to create a upddate querry or maybe some code but...
i have a light bulb and i keep 300 on hand i just ordered 300 more when i check the box that the order is complete i need the "bulb on hand" feild to update to 600....please help
I have not used queries or Access for a few years. I have a query set up to search for a tag number which the user enters in. How do I incorporate the * function in with it? This is what i have tried: SELECT * From Bags_Recieved WHERE Tag_No = *" & [Which Tag?] & "*
I am trying to get it so the user just has to enter in a few numbers in case they do not know the whole number.
I have a bit of an embarrasing question, as I`m sure that this is so easy to solve, but its just beyond me... I have searched but dont get exactly what I`m looking for, looked in all my books to no avail !!!!!
I have a form, which had many data in it. I have a particualr feild "cust_ref" which is sorted A-Z (asscending) How would I change this to Z-A (descending) I have done all the changes in my tables, queries etc, but this doesnt effect the form.. I also have the same problem in one of my reports....
Im sure its really simple, but I think i`m over complicating the solution, and its now giving me a really bad headache.
I have 2 subforms and 1 mainform all i want is that subform1 comunicates with subform 2. subform 1 had a listbox that is filled with a query. When i click a value in the listbox the othersubform must navigate to that record.
Here's a stupid question... how can u make a field in a form so that the text in it is allways in capitals, it's for adresses and i need the city and the zipcode to be in capitals, any ideas?
I'm sure this is a stupid question, but here goes it. I'm working on a survey database. I want the end user to be able to be able to select a checkbox, if they use that service. Down the line I want to do some charting on the answers to the number of checkboxes selected. Is there anyway to change the default value to 0 and 1 verse 0 and -1
i use Ms Access 2000 (home)& 2002 (office).. can i choose type of relationshp manually.. i mean i can change ony-to-many to many-to-many or some thing like that... if it possible, how... plz help me...
I have done multiple searches with no luck- sorry to ask such a basic question, but I want to know the correct way of inserting a foreign key into a table.....I was told to Insert - Lookup field - in my main table - is that correct?
I'm currently trying to get a button working that will check the contents of a field for a value, and if nothing is selected I want it to prompt the user to select something. Here's my code:
Private Sub Command47_Click()
Dim stDocName As String Dim stLinkCriteria As String
I've got 20 checkboxes which i need to do the same thing but individually.
If IsNull(DLookup("[question 1]", "qryQuestions")) Then chkQuestion1.Visible = False Else chkQuestion1.Visible = True End If
I tried this:
Dim loopy As Integer Dim tmpquest As String
For loopy = 1 To 20 tmpquest = "question " & loopy tmpCheck = "chkQuestion" & loopy If IsNull(DLookup(tmpquest, "qryQuestions")) Then tmpCheck.Visible = False Else tmpCheck.Visible = True End If Next loopy
tmpquest works. tmpcheck doesn't.
I tried dimming tmpcheck as lots of things but no luck.
Ive got a form, that has inputs to a table, and it also has 2 subforms that link to another table, the subforms are different forms but they link to the same table, this is bacause I need to be able to enter two different items off the table that may be different items, the reason Ive used subforms is because there is the need to have the part number for the item, as well as the weight, this will be a growing list as the Dbase expands. now I have the two subforms with a combobox for part number, and the weight field looks up because of the combo,
back on the main form I need a entry that adds up the 2 weight fields, and enters them on the main table that the main form writes data to, can someone help?
Ive been heatbutting my monitor for a week or two now, and my limited know how on Access is beginning to show :-)
I've searched these forums, but I haven't found anyone as clueless as I...
All I want to do is put something in the "Control Source" of an empty field in a form to create a date... Specifically, in the following format: MM/DD/YYYY
I know this has got to be easy, but I can't figure it out. I'm an idiot...And so is Mr. Clip-It.
Before I start I just want to say that I know forms are not well suited to printing etc... but I have this stupid issue that is driving me nutzo.
I have a form with a subform on it but for some reason on the main form and the subform insist on printing on seperate pages, i have checked the force new page setting for each section and there are no page breaks that i can see? Don't seem to be able to find references to this issue anywhere...
I saw that nobody read my first post so I figure I'll post my question here. I am trying to learn VB and am curious about how to make command buttons that will do the next/previous thing in VB and not using a macro. Any advice?
OK, i have what may be a fantastically stupid question. i did a search (http://www.access-programmers.co.uk/forums/search.php?searchid=1806902&pp=25&page=2) on this and didn't find anything that seemd to address it.
my issue: autonumber field, sole primary key. i am adapting a legacy (non-access) db into access. it was originally an autonumber field but during import, the data type was set to number and of course, i cannot convert it back now into autonumber.
i already duped the PK field as an autonumber and tried an update query to "correct" the autonumbering PK field as i believe is suggested here (http://www.access-programmers.co.uk/forums/showthread.php?t=138484) but it won't permit me to do this.
b/c it's legacy data, i want to preserve the original values in the autonumber, but am unclear on what next steps might be available to me.
Here's the situation. I have a Database in Excel (~3000 rows & 7 Columns)
The first Column has numbers like this (3-10-34 or 223-7-45) the other columns have names, addresses and other stuff.
What I'm trying to do is to eliminate the use of huge binders. I want to have a Blank screen with only one input box where I can type a number and retrieve a specific row from my Database. Time saving.
Now, when I'm searching, I usually only have the first numbers before the dash (such as the 3 or the 223) not the other numbers. So I cannot input 3-10-34 for instance. I can only put 3...:confused:
I've already imported it to Access and it works fine but have no idea how to do what I just described!
sorry if this question is answered somewhere else i did check through the forum a bit first
anyway to the question
is there a way in access 2003 so when i change a value in one table it creates a new record in another table
example
i have a table called tickets and one called fixes, when i change a value in a record in the tickets table i want a new record in the fixes table to be created for me
I am not sure if i am supposed to post in this section......
--------------------------------
Using Access 2003.
I am very new to Access and have started off very well building my first project..
My help is that i would like a macro button to delete a record once you have put in to the database if that is possible also i would like a save button if that is possible...
I have put a Tab Contol on and want to change the backgound but i can't see on the properties box to change this. Is there a piece of code that allow me to do so...
I am still very new to Access 2003 and have started off very well..
Just a few help please:
Help 1. I need a macro button that will allow me to delete a record from the database via a form.
Help 2. I need a macro button to save the database if that is possible via a form.
Help 3. I have a Tab Control on my form and i want to change the background of the Tab Control but can't find it on the properties is there a piece of code i can put in to VB which will do this for me or is there another way.