Search results

  1. N

    Clearing criteria in filters

    Add this code to your button To apply filter : DoCmd.ApplyFilter , "Your Criteria" To show all records : DoCmd.ShowAllRecords
  2. N

    This is so weird - why is this happening??? how to fix it?

    There is nothing wrong with your program. I can run all your report on employer's history although payment field is not touched. Have you tried to run your program on another computer?
  3. N

    Automatic Number with text!?

    i put the above code on the on load event
  4. N

    password protect a form

    DoCmd.Close acForm, Me.Name
  5. N

    split a field

    Dim MyString MyString = Split("EnchSG100ml+RomaSH50ml,", "+", -1, 1) ' MyString(0) contains "EnchSG100ml". ' MyString(1) contains "RomaSH50ml,".
  6. N

    No Data in Subreport

    1. Try to make another new form using form wizard.Put from the available fields to selected fields (from 2 tables). 2. Try make relationship between 2 tables.
  7. N

    How to display a msgbox when Report returns null value.

    In your report : Private Sub Report_NoData(Cancel As Integer) MsgBox "No Data.", vbInformation Cancel = True End Sub In your form : On Error GoTo Err_cmdPrint_Click 'your command to opent report Exit_cmdPrint_Click: Exit Sub Err_cmdPrint_Click: If Err = 2501 Then '...
Back
Top Bottom