Recent content by strep21

  1. S

    Delete all text before character

    I'm a big fan of the SPLIT function, so I would use : Function SplitAgain(strIN As String, strDelimiter As String) 'strIN like "AMZN : Amazon, Inc" 'strDelimiter = ": " 'Use like : SplitAgain("AMZN : Amazon, Inc",": ") 'Output = Amazon, Inc Dim var1 As Variant var1 = Split(strIN, strDelimiter)...
  2. S

    Error 3075

    Schalkse, (ruiters ???) try to replace "WHERE (tblKlanten.Klantnummer = '" & [Klantnummer] & "');" by "WHERE (tblKlanten.Klantnummer = " & [Klantnummer]);
  3. S

    Report Date Selection criteria

    Greaseman, Apart from what Paul says ..... is Between [TableDates].[FromDate] and {TableDates].[ToDate] an exact copy and past ? Note the "{" instead of "[" after "and".
  4. S

    Hiding columns in a subform datasheet

    Strange .... I thought I posted an answer yesterday, but don't see it. So here it is again : To hide field Me.txtID in your subform datasheet view. In your subform's open event : Private Sub Form_Open(Cancel As Integer) Me.txtID.ColumnHidden = True End Sub
  5. S

    Duplicate Entry Woes

    Sorry, I misunderstood your question. Insert a new module. On the top of that module, put : Dim lngGroup Dim lngGroupIncrement As Long Then put this function in the module : Public Function GroupIncrement(Group) As Long If Group = lngGroup Then lngGroupIncrement = lngGroupIncrement +...
  6. S

    Duplicate Entry Woes

    Using tblInput for your table name : SELECT tblInput.Patient_No, tblInput.ID, DCount("ID","tblInput","Patient_No= '" & [Patient_no] & "'") AS NR FROM tblInput;
  7. S

    Row (record) numbering

    I mostly think an example (attached) says more than a hundred words ;)
  8. S

    Validating a field (dependent fields)

    I attached a mini-sample. Good luck :D
  9. S

    Validating a field (dependent fields)

    Not in a table. Use a validation rule in your input form.
  10. S

    Listbox recordsource value

    Try replacing .RecordCount by .ListCount
  11. S

    Importing text file?

    Sasolini, When importing the file, click on "Advanced" (down left). Look at the Decimal Symbol, about middle of the screen, to the right. It probably says " , ". Change it to " . " (without the double quotest). Eddie
Top Bottom