Search results

  1. DCrake

    HELP! Access 2007: Weird behavior in an export word function

    First of all make sure that there are no spaces in your field names. Secondly you need to look at what fieldlist is returning Why are you using mid(..,3)?
  2. DCrake

    Question Computer Locking

    When you say long updates, how long is long?
  3. DCrake

    MsgBox Retry/Cancel

    You are using the msgbox not as intended If MsgBox("Incorrect Password",vbExclamation+VbRetryCancel,"Invalid Password) = vbRetry Then '/Do this Else '/Do That End if
  4. DCrake

    One list box at a time, how?

    Then on the on click of the first listbox Me.Listbox2 = "" and vice verca
  5. DCrake

    One list box at a time, how?

    Are each list boxes multi select?
  6. DCrake

    Simple Log in screen help

    Have you looked in the Sample Databases section or examples?
  7. DCrake

    hide fields based on yes/no fields

    I knew you would ask that. Go to the VBA section of the checkbox to the OnClick Event() Next click on the extreme left gray vertical strip see image Then when you click on the checkbox press the F8 function key to step through the code to see whats is or is not happening.
  8. DCrake

    Dcount problem

    DoCmd.RunSQL "Update cost set pallet_cost = " & Me.Text2 & " where order_no = '" & me.Text0 & "'"
  9. DCrake

    hide fields based on yes/no fields

    Put a breakpoint on your on click event and step though the code.
  10. DCrake

    Import from Excel but have User Browse for the File

    oApp.Visible = True oApp.Workbooks.Open OpenFile.lpstrFile With oApp .Visible = True Remove the bold lines
  11. DCrake

    hide fields based on yes/no fields

    Go to each of the controls and bring up their properties Visible False
  12. DCrake

    Import from Excel but have User Browse for the File

    With .Workbooks(.Workbooks.Count) For i = 1 To .Worksheets.Count WrksheetName = .Worksheets(i).Name DoCmd.TransferSpreadsheet (acImport), acSpreadsheetTypeExcel97, "Testing Tab", OpenFile.lpstrFile, False, "Access" Next i End With replace with DoCmd.TransferSpreadsheet (acImport)...
  13. DCrake

    Dcount problem

    Is palet cost a number if so take out the single quotes If DCount("*", "cost", "order_no='" & Me.Text0 & "' AND pallet_cost=" & Me.Text2 ) = 0 Then Same applies for Order no
  14. DCrake

    hide fields based on yes/no fields

    Set the default visible property to False or all the controls when the form opens.
  15. DCrake

    Import from Excel but have User Browse for the File

    Then select the range and name it then use the named range for the import
  16. DCrake

    hide fields based on yes/no fields

    Whe you say it is not working, what is not working?
  17. DCrake

    Multiple Selection List Box as Criterea for Query

    How are you intending to use this query?
  18. DCrake

    Import from Excel but have User Browse for the File

    Are all the cells on the same worksheet in the same place? Can you post a sample xls with the cells highlighted.
  19. DCrake

    Custom Nav buttons

    Use the add command button wizard to a form and select new record then use the vba that it generates.
  20. DCrake

    Import from Excel but have User Browse for the File

    This is probably because there are three worksheets in the workbook. What are you trying to do exactly? why the For Loop?
Back
Top Bottom