Recent content by SikhSioux

  1. S

    Automatically populate a field using a field on another form

    I get the #name? error in all cases
  2. S

    Automatically populate a field using a field on another form

    Thanks for helping out, I've tried what you said but again the email address does not display. I've tried specifiying the field as combo box field as well as text field but the problem remains, by the way, I'm using Access 97
  3. S

    Automatically populate a field using a field on another form

    I forgot to mention what I've tried so far: I created a totals query which shows the deptEmailAddress where the DeptId is equal to the value of the DeptId in the frmCustEnquiry form and the dateEmailAddressIntroduced field has its maximum value. I then successfully tested this query. I then...
  4. S

    Automatically populate a field using a field on another form

    I forgot to mention what I've tried so far: I created a totals query which shows the deptEmailAddress where the DeptId is equal to the value of the DeptId in the frmCustEnquiry form and the dateEmailAddressIntroduced field has its maximum value. I then successfully tested this query. I then...
  5. S

    Automatically populate a field using a field on another form

    I wonder if someone can help me: I have a customer enquiry form (frmCustEnquiry) within which is a combo box field, the combo box stores the customers department ID (DeptId). The email address for the department sometimes changes, the changes are stored in a table (tblDeptEmailAddress) which...
  6. S

    Automatically populate a field using a field on another form

    I wonder if someone can help me, I have a customer enquiry form (frmCustEnquiry) within which is a combo box field, the combo box stores the customers department ID (DeptId). The email address for the department sometimes changes, the changes are stored in a table (tblDeptEmailAddress) which...
  7. S

    Problems Using a Search Form

    I'm looking to create a form called 'frmMilkShakeIngredients' which allows you to add info about particular milkshakes and their ingredients. One of the fields (called 'cmbFruit') is a combo box filed which allows you to add a fruit. You can choose a fruit from a list (the source of the list is...
  8. S

    How do I update a list (whose source is another table) on a form

    Thanks for helping guys, Gemma following your advice I included the 'acdialog' constant in the 'Openform' command. I then tested the code and I found this successfully prevented the 2237 error message showing up, the code for the 'NotInList' event now reads: Private Sub fruitId_NotInList...
  9. S

    How do I update a list (whose source is another table) on a form

    Say I have a form 'breakfast' that contains a combo box control which allows you to choose a fruit from a list of fruits. The list of fruits is obtained from a table called 'fruits'. Is there a way that I can add a new fruit to the list so I can choose it from the list? I have tried the...
  10. S

    Unexpected reults when filtering for a date value

    Thanks Paul, I'll give it a try Bob
  11. S

    Unexpected reults when filtering for a date value

    Paul, I made a mistake when I typed in the code on this forum. The original code has the changes you mention i.e dateDeactivated is replaced by dateIncluded. Any idea what could be causing this? Bob
  12. S

    Applyfilter method gives unexpected results when filtering for date values

    Hi I have re-posted this thread as I made a mistake in the earlier on, hope someone can help with this tricky on: I have a form module attached to a 'search' form used to search (filter) for records on another 'main' form that shows all the records. One of the fields I can filter for is a...
  13. S

    Unexpected reults when filtering for a date value

    Thanks for the reply, do you know how I can make them the same? Should I change all the date values in the table to DD/MM/YYYY HH:MM:SS format? Is there some way I can add 00:00:00 to the date fields in the code so that a particular date value in the table say 23/05/2007 becomes 23/05/2007...
  14. S

    Unexpected reults when filtering for a date value

    Hi, hope someone can help with this one. I have a form module attached to a 'search' form used to search (filter) for records on another 'main' form that shows all the records. One of the fields I can filter for is a date/time field. When I type a date to be filtered for in the 'search' form...
  15. S

    Unexpected message with Applyfilter method using VBA

    Hi, hope someone can help with this one. I have a form module attached to a 'search' form used to search (filter) for records on another 'main' form that shows all the records. One of the fields I can filter for is a date/time field. When I type a date to be filtered for in the 'search' form...
Top Bottom