Search results

  1. mike60smart

    Not sure how best to display the information

    Can you upload a copy of your db?
  2. mike60smart

    Not sure how best to display the information

    On The form where you are recording the Job details you would create a Combobox to Lookup the Contact allocated for the specific Job
  3. mike60smart

    Syntax

    Hi I changed the code as suggested Private Sub cmdAddLines_Click() 10 On Error GoTo cmdAddLines_Click_Err 20 If Me.Dirty Then Me.Dirty = False 30 If DCount("[MainId]", "tblLineUnitEntries", "[MainId] = " & Me.txtMainID) <> 0 Then Me.Undo 40 If MsgBox("If These...
  4. mike60smart

    Syntax

    Hi everyone I have posted the same question on Utter Access The code I am using as as follows and I am getting the following error. Private Sub cmdAddLines_Click() 10 On Error GoTo cmdAddLines_Click_Err 20 If Me.Dirty Then Me.Dirty = False 30 If DCount("[MainId]"...
  5. mike60smart

    Inserting Dates

    Hi June I amended the Date Construct to remove spaces.
  6. mike60smart

    Inserting Dates

    Hi Everyone As usual it was my mistake again The initial I changed the SQL Code shown below and it now works just fine Dim strSQL As String strSQL = "UPDATE tblCurrentPastYears SET DateFrom = # " & Me.txtD _ & " # WHERE DateFrom is Null;" Debug.Print strSQL CurrentDb.Execute strSQL...
  7. mike60smart

    Inserting Dates

    Hi June & CJ I am trying to get the date updated by using the following Code and cannot get the syntax right, Dim strSQL As String strSQL = "UPDATE tblCurentPastYears SET DateFrom = #" & 1 / 1 / [txtY] _ & " # WHERE DateFrom is Null;" Debug.Print strSQL CurrentDb.Execute strSQL...
  8. mike60smart

    Inserting Dates

    Hi CJ Many thanks nad now you have pointed me in the right direction I will do the insert. Many thanks
  9. mike60smart

    Inserting Dates

    Hi Everyone I have a Form which has an Unbound Control named "CurrYr" to display the Current Year 2025 using the following. =Right(Date(),4) I then want to run an Append Query using the Code as follows: INSERT INTO tblCurrentPastYears ( YearClassID, StudentID, GradeID, ClassID ) SELECT...
  10. mike60smart

    Import-export permit tracking system

    Hi In the attached I have imported all of the relevant objects for the process of attaching documents related to a Specific Permit for a specific Plant. The Form that opens allows you to select a Specific Plant and add all relevant details for the Permit. Then in the Subform you can locate...
  11. mike60smart

    Looking for a Reliable "Days Between" Calculator Tool

    Hi The attached has a good calculator of DateDiff provided by @Pat Hartman
  12. mike60smart

    Pasar datos de un formulario a otro

    Translation Hi David Your question is not very clear. Does the employee number, name and other fields ALREADY appear on your second form? OR Do you WANT the employee number, name and other fields to appear on your second form? Whatever your answer is, what do you want to do once you have that...
  13. mike60smart

    Pasar datos de un formulario a otro

    Hi Can you upload your database?
  14. mike60smart

    Import-export permit tracking system

    Tom has given you an example of how to manage documents. Have you tried to implement it in your database? No one is actually going to do this for you.
  15. mike60smart

    Data display

    Hi Because you have set your Primary Key in your table "Nalog" as Number means you have to know which is the next IDNalog number to use in the Form "Nalog1"
  16. mike60smart

    Data display

    Have you tried just creating a Form based on the table "Nalog" ?
  17. mike60smart

    Urgent Help

    Hi Are you able to upload a copy of the database with no confidential data?
  18. mike60smart

    Data display

    As the_DocMan says to display the Type change the Column Width of the Listbox as shown in the attached.
  19. mike60smart

    Data display

    Hi Why go to all the bother of multiple Unbound Controls and Forms? Just create a Form bound to the Nalog table.
  20. mike60smart

    Mail merge from an Access control

    Was in Berlin then from 1985 to 1992
Back
Top Bottom