Search results

  1. M

    Microsoft Access 2010 Change this select query to a Delete Query

    I need to delete the records that come from this query SELECT qryforlastactivityyesterday.EmpName, qryforlastactivityyesterday.LastOfDateDBActivity FROM qryforlastactivityyesterday INNER JOIN qryforyesterdaysreport ON (qryforlastactivityyesterday.EmpName = qryforyesterdaysreport.Employeeeod)...
  2. M

    Adding name to table

    Yes I have that working fine. It's just when it is not found I haven't figured out the best way to handle it.
  3. M

    Adding name to table

    That is what I like but the customer wants that last name first name middle name.
  4. M

    Adding name to table

    They will select the name and then enter new activity. The names are contained in tblrequesterdetails. The activity is in tblrecordlog. I have a unique id for the requester. I had it set up where they could enter Firstname Lastname. and the unique id would populate in the tblrecordlog. How would...
  5. M

    Adding name to table

    I have 3 combo boxes, LastName, FirstName, MiddleName. Customer wants to be able to select lastname, firstname, then middlename(Optional) how do I populate tblrequesterdetails with all three names. I have used notinlist event with one combo box but haven't used it in this situation. Customer...
  6. M

    Not in List Need to show Form

    They will add their address type of business, etc. I did but a subform and made it visible for my solution but would like to know the correct way to do it.
  7. M

    Not in List Need to show Form

    I select from names in combo184. If the name is not in the list I found this code that works Dim strTmp As String 'Get confirmation that this is not just a spelling error. strTmp = "Add '" & NewData & "' as a new Requester?" If MsgBox(strTmp, vbYesNo + vbDefaultButton2 +...
  8. M

    Custom Reference number how to update from vba

    I got it I was way to long thanks.
  9. M

    Custom Reference number how to update from vba

    Just to clarify I use DoCmd.GoToRecord acForm, "frmpublicrecordslog", acNewRec to get to a new record.
  10. M

    Custom Reference number how to update from vba

    So they have a new request and the click on the new record button to add data to all the fields. Requestnumber is on the form to be pubulated. Not the key field.
  11. M

    Custom Reference number how to update from vba

    I want to click on the new request button have it populate the request number with the formulae above.
  12. M

    Custom Reference number how to update from vba

    Client wants to populate leading request number based on 20130001 ... 20130010..20130999...20131000 and so forth I have the code Public Function Leadingzeros(StrTable As String) Dim db As DAO.Database Dim rec As DAO.Recordset Dim rec1 As DAO.Recordset Dim mycount As Integer Dim RequestNumber...
  13. M

    Link Back to Form from Queries

    The best way I found to get the correct code is to open the form you want to use with the case number. Then go to your query under the case number and by the Criteria select build forms loaded forms and then the form you are wanting to use your selection from. Under the column Expression...
  14. M

    Delete Query where code and client are equal

    I am trying to delete a record in tblinclude where record from tblexclude are equal to clientid and codeid Here is the sql DELETE tblinclude.ClientID FROM tblexclude INNER JOIN tblinclude ON (tblexclude.ClientID = tblinclude.ClientID) AND (tblexclude.CodeID = tblinclude.CodeID) WHERE...
  15. M

    Microsoft Access 2010 All Capitalize First Letter of Every WOrd

    Thank you very much missingling. Worked on this all day yesterday before I posted the question.
  16. M

    Microsoft Access 2010 All Capitalize First Letter of Every WOrd

    It is only the names but some people have two last names. I thought I had it solved but the user didn't like the all caps.
  17. M

    Microsoft Access 2010 All Capitalize First Letter of Every WOrd

    I didn't say what the function was doing III because Iii and II will be come Ii. Thanks again.
  18. M

    Microsoft Access 2010 All Capitalize First Letter of Every WOrd

    I am using a function I found at it works most of the time Except WHen a Name Has a suffix like your name III will change to Your Name Iii. Here is the function Function Proper(X) 'Capitalize first letter of every word in a field. Dim Temp$, C$, OldC$, i As Integer If IsNull(X) Then...
  19. M

    New member to this community

    Thanks for letting me join the group. I am constantly amazed at how many business still use Excel and not Access. I am looking forward to helping others get their answers and also others helping me.
Back
Top Bottom