Search results

  1. E

    Before update not working

    Have you tried putting a breakpoint in your code and stepping through it to see what the problem is?
  2. E

    delete values from combobox

    Although, if it is just mispelled, wouldn't it be better to allow the user to edit the name? If you've assigned the value to records, it might not let you delete it without first removing that value from the records, anyway!
  3. E

    simple Query not working

    The case is most likely that you are using joins on fields that are null. If you are using a join, make sure the data on both tables is present, or use an outer join.
  4. E

    Update all records with today's date

    =Now() will just give you the date with time, you'll have the same problem. I agree with Rich, there is little to no point in putting today's date in each day.
  5. E

    CSV importing little squares

    Since you are importing a CSV file, you can open it in Excel first and use the CLEAN function, which will remove all non-printable codes. FYI, Trim will only remove leading and trailing spaces.
  6. E

    Before update not working

    I think the problem is that you are using ".value", which will refer to the comitted value of the control. Since this is beforeupdate, you are not getting the compare you want. Try this: 'assign vars values anticipatedCompletionDate = txtAnticipatedCompletionDate...
  7. E

    2 issues with Combo Box searches...

    There is no reason to set it to .1 - you can set it to 0.
  8. E

    Error Appending records

    Most likely - you can try two things: If you want the field to be a date, change the destination field's data type to date. If you want the field to remain text, use the cstr (convert string) function to convert the date to text before you append. In the append query, you can use...
  9. E

    Error Appending records

    Are you sure that in all cases the source field's type matches the destination field's type? Setting them ALL to text is not necessary (for example, you probably want to keep your date fields set as dates). It is only necessary that both the source and destination match. If that still doesn't...
  10. E

    2 issues with Combo Box searches...

    I'm not sure the code the wizard uses, but I like to use code like this: me.recordsetclone.findfirst "[CustomerID] = " & me.cboSearchCustomer me.recordset.bookmark = me.recordsetcone.bookmark Just make sure that the combo box is bound to Customer ID.
  11. E

    2 issues with Combo Box searches...

    Right.... I guess I'm picturing a combo box that has: Hartman, Ace Hartman, Bob Hartman, Stan And no matter which the user selects, the form displays Ace. This would be because Access is using the last name to search, not the CustomerID. The CustomerID will always be unique, the name won't...
  12. E

    Tab Control Selected Via Combo Box Value

    Use the On Current event of your form. Do something as follows: Select Case me.cboComboBox Case = "Cars" me.tbTabControl = 1 Case = "Trucks" me.tbTabControl = 2 etc...
  13. E

    2 issues with Combo Box searches...

    It is searching based on last name. Change it to search for the customer ID.
  14. E

    Bad entries - is there an error log?

    Also, have you tried compacting and repairing? Sometimes doing this will allow you delete the bad records, without having to export to Excel and re-import.
  15. E

    Error Appending records

    Your source table has fields of a different type than your destination table. For 36 of the records, it couldn't convert the source field's data into the destination field's data type. For instance, you are trying to trying to append a letter into a number field...
  16. E

    Checkbox in Option Group

    I've already shown you how to fix this. Since these fields are undbound, you must manually set them according to your data.
  17. E

    Request for help on Database design

    I'm sorry, but I am not going to build your database for you. Take a shot at it. Post with specific questions.
  18. E

    Select Equal type - Based On Random Query

    Here you go.
  19. E

    For Each...Next Statement.

    Do While not rs.EOF operation 1 operation 2 rs.movenext Loop
  20. E

    Another string to date conversion problem

    Trying using the IsDate function. Iif(IsDate([DateField]), cDate([DateField]), Null)
Back
Top Bottom