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.
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 want to ask how do i add a sound after I have timer to display countdown time. When the timer reaches 00.00, the sound will appear. How do i do that?
I'm working on a splash screen to spruce up the opening of one of several databases I've created. I hate for them to appear boring so I like to add a bit of color at the beginning, a la Northwind's.
I haven't found anthing on this yet so I thougt I'd ask...
How can I have a sound I've downloaded from clipart or somewhere, PLAY when the form opens or loads or whatever...
I have been trying to improve a form used to add/edit names in a mailing list. What I want to do is check the database for possible duplicate names and alert the user to the fact that their new person may already be in the db.
I used the following VBA code in the After Update event as follows:
Private Sub txtLastName_AfterUpdate()
On Error Resume Next Dim strLastName As String Dim NbrNames As Variant Dim strNameSQL As String
txtLastName = Trim(txtLastName) If Not Mid(txtLastName, 1, 1) = "=" Then txtLastName = StrConv(txtLastName, vbProperCase) Else txtLastName = Mid(txtLastName, 2, 999) End If
' Test for duplicate last name in data base NbrNames = DCount("[tblMemberListings].[mlLastName]", "tblMemberListings", "[tblMemberListings].[mlLastName]= '" & txtLastName & " '") If NbrNames > 0 Then strNameSQL = "SELECT ALL tblMemberListings.mlID, tblMemberListings.mlLastName, tblMemberListings.mlFirstName, tblMemberListings.mlSpouseSO, tblMemberListings.mlAddress " & _ "FROM tblMemberListings " & _ "WHERE ((tblMemberListings.mlLastName) LIKE '" & txtLastName & "*') " & _ "ORDER BY tblMemberListings.mlLastName, tblMemberListings.mlFirstName, tblMemberListings.mlSpouseSO;" lstDuplicateNames.RowSource = strNameSQL Beep lstDuplicateNames.Visible = True
End If
End Sub
This generates a useful list of potential persons already in the db. The user then has the choice of continuing to add the new name and address or they should be able to select one of the names in the listbox and refresh the form with that person's data for possible modification.
I currently have these two Event Procedures in place:
Private Sub lstDuplicateNames_AfterUpdate() On Error Resume Next 'MsgBox "Sub lstDuplicateNames_Click value = " & lstDuplicateNames.Column(0)
If Not IsNull(lstDuplicateNames.Column(0)) Then ' User chooses and existing record Me.RecordsetClone.FindFirst "[mlID] = " & lstDuplicateNames.Column(0) If Not Me.RecordsetClone.NoMatch Then Me.Bookmark = Me.RecordsetClone.Bookmark End If Me.lstDuplicateNames.Visible = False Me.Refresh End If
End Sub
and
Private Sub lstDuplicateNames_Click() Me.txtHidden.SetFocus Me.lstDuplicateNames.Visible = False
End Sub
The problem is that when one clicks on one of the listed names just two things happen:
1 - a fine dotted box outline appears around the *first* record in the listbox 2 - the MS Exclamation wav sound is generated each time the mouse button is clicked. :confused:
Short of enrolling in a local junior college that offers Access 101 what can I do to get this addition working? I'm also not sure that my code to refresh the form is going to work, but right now I don't ever get there. ;)
Oh, this problem is occurring in MS Access 2000.
Any help would be greatly appreciated by this NOOB.
i have a query with info populated from those 2 tables:field "results" shows the results of this calculation: "cases required"-"cases picked"="results".In this query I have a conditional format stating: If true, displays text "ok" and the field will be green, if false, displays text "alert" and the field will be red.
Then I have this query in a subform (a form within another form),I would like to have a code or a formula for this query, where it would play a sound if (and only in this case) the value of "cases picked" is bigger than the value in "cases required"
This is how it works, you open the main form, start using a barcode scanner to scan cases, everytime you scan each case, the subform is refreshed and adds cases, and shows results, and shows how many cases you are missing or how many cases you are over, but this is only in the screen, i would like to have a sound in this subform, so in case you pick more cases than required, a loud sound is played as an alert, i still can't figure out where to put the solution, if as a formula in the query, or a code in the subform.
I'd like to make noise to another computer, or start same sound file or simply to call another computer on lan or through vpn connected computer using vba...
That will be nice if I can press button on access form and user on another computer hear some noise or to loo like it is call
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.. :)
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 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