Search results

  1. DCrake

    DateDiff in Table

    You may also need to use it on the after update evebts of the dates that can change.
  2. DCrake

    DateDiff in Table

    Where and what are you performing the calculation? You should either use it in the Default Value of the calculated unbound form control or using the Form On Current event in vba.
  3. DCrake

    Report displays only first page

    The difference between print preview and view is that the view method is purely to test layouts and gives the user a snapshot of the report, whereby the print preview generates the whole report.
  4. DCrake

    Not printing all of the customers Statements

    If you run the undelying query that the report is based upon does this show all the customers?
  5. DCrake

    Table not recieving data

    Is the form bound to the table?
  6. DCrake

    Access ADP Form Sort on ComboBox Text

    Pictures tell a thousand words, you image attachements clearly indicated you were use table level lookups. That is why I commented the way I did. Therefore there was no need to read the full explanation.
  7. DCrake

    Dlookup not working

    Paul I spotted the first error and looked no further. It was clear that LOT was a string therefore it needed single quotes around it.
  8. DCrake

    formula needed

    Sample Data 128982 VC AAAA 1389883; MC AAAA 1589 DC BBBB 179024;VC DDDDD 1212313;AM EEEEE 18902 MC FFFFF 18902 FFFFF 3033383; B#111; VC; XXXX 3035383; B#222; DC; YYYY Public Function SpecialParse(AnyString As string) As string '/Task 1 : Replace all spaces with semi-colons AnyString =...
  9. DCrake

    formula needed

    Will the item you want to parse only contain 2 alpha characters? Will any other item ever contain 2 alpha characters If the answers are Yes and No then not to dificult to do, otherwise it could get complicated.
  10. DCrake

    Access ADP Form Sort on ComboBox Text

    Simple, do not use lookups at field level. Use relationships between tables and store PK - FK relationships.
  11. DCrake

    Concatenating a variable

    Try strFld & cstr(intStart) = rs1.Fields(intStart - 1).Name However you cannot start a line with a variable name but Rs1(strFld & cstr(intStart)) = rs1.Fields(intStart - 1).Name
  12. DCrake

    Concatenating a variable

    Remove the quotes from around the strFld variable
  13. DCrake

    Dlookup not working

    SaveSetting "PST", "CopyProd", "ProdNum", DLookup("[PC]", "WAVE3_INVN_DL", _ "[LOT] = '" & Forms!frmOpenLot!tbLotNum & "'")
  14. DCrake

    Populating text box based on Combobox selection?

    Only testing can prove that, but that is the normal way to populate many unbound controls from a combo box.
  15. DCrake

    Populating text box based on Combobox selection?

    Use the Column(n) method to populate the textbox RowSource "Select ID, Name, Notes From Table" Me.Txtbox = Me.Combo.Column(1) Don't forget columns are zero based.
  16. DCrake

    how to run a function using Private Sub Onclick

    Glad you are sorted now:)
  17. DCrake

    how to run a function using Private Sub Onclick

    Call importBeatport()
  18. DCrake

    Multiple Selection List Box as Criterea for Query

    Private Sub Command2_Click() Dim Criteria As String Dim i As Variant ' Build criteria string from selected items in list box. Criteria = "" For Each i In Me![List0].ItemsSelected Criteria = Criteria & "," & Me![List0].ItemData(i) Next i '/Drop the leading comma...
  19. DCrake

    Date within last two weeks

    >= Date()-14
  20. DCrake

    Multiple Selection List Box as Criterea for Query

    This is a more efficient way of doing it For Each i In Me![List0].ItemsSelected Criteria = Criteria & "," & Me![List0].ItemData(i) Next i '/Drop the leading comma Criteria = Mid(Criteria,2) '/Wrap the In() command around the string Criteria = "Where CustomerId In(" & Criteria...
Back
Top Bottom