Recent content by puakenikeni

  1. P

    Update subform from a textbox

    My criteria is listed in my query. It's: SELECT Master.ProgramName, Master.[Item Description], Master.ItemClass, Master.PropertyClass, Master.AcquiredFrom, Master.Gtag, Master.ItemClass, Master.ManufacturerVendor, Master.ModelNumber, Master.SerialNumber, Master.PartNumber, Master.Quantity...
  2. P

    Update subform from a textbox

    I want to use a textbox to be the criteria for a subform. How do I got about refreshing the subform as someone types into the textbox? I'm just placing a basic "requery" subform command, but I've placed it in the AfterUpdate, BeforeUpdate, OnDirty, and Change events, and I have to click outside...
  3. P

    Adding an "any" criteria to combobox

    Thank you for those examples, LPurvis. I haven't had the chance to look over 'um yet, but I will soon. Those will definitely be of help! Thank you both for your help!
  4. P

    Adding an "any" criteria to combobox

    Yes, you guys are right--Like you mentioned, LPurvis, my subform doesn't return null values (which is driving me nuts!). Your example works, but I would still like to learn how to build it in VBA, since I'm not sure how to do it. Will you provide an example or the theory of writing it in VBA?
  5. P

    Query doesn't return record with null field

    I'm using a query as the source of my subform. It queries based on what is selected from four comboboxes. The query will display almost all of the records--except for the records that have a null value in one of the fields. There are a total of 449 records in my database. Out of the 449, 152...
  6. P

    Adding an "any" criteria to combobox

    Nevermind. I found an old post on the forum and changed my query so that it used "like" instead of using the "=" sign. I used: SELECT Master.ProgramName, Master.[Item Description], Master.ItemClass, Master.PropertyClass, Master.AcquiredFrom, Master.Gtag, Master.ItemClass...
  7. P

    Adding an "any" criteria to combobox

    I'm sorry for the many questions, but if I don't apply any criteria, does it mean I need to use separate queries for whether the user selects "*"? I have four separate comboboxes on the my form, and I want them all to be able to choose from all (the "*") or the individual options. In my Query...
  8. P

    Adding an "any" criteria to combobox

    Yes, I wanted to know how to add "all" to the criteria. I could add the selection to the combobox, but it doesn't do anything for my subform. My subform gets its values from a query that has criteria in it. It will display information based on what is selected in the combobox. Since it has...
  9. P

    Adding an "any" criteria to combobox

    I'm using comboboxes to filter the data shown in a subform. However, I would like to add something like an "any" or "all" to the SQL string. I consider it any because I want it be more of a wildcard. Right now, I'm using: SELECT * FROM Disposition ORDER BY Disposition; Thank you in advance.
  10. P

    Subform with query source doesn't display correctly

    I have a subform on my form that is "filtered" by comboboxes. The subform will display records after selecting criteria from the comboboxes, but it doesn't display all the records. After the records are displayed in the subform, I open up the source of the subform, which is a query, and that...
  11. P

    Multiple comboboxes

    I'm keeping these threads separately because it's different questions :) I have a couple of questions. First, In my tabbed form, I have three comboboxes. I want these three comboboxes to filter the information displayed in a subform (showing the results of a query). The comboboxes are working...
  12. P

    Controls and Tabs

    You shouldn't have to log in to download the file--I know you have to wait for awhile for the download link. I uploaded it it Sendspace instead. Please let me know if you have any trouble downloading it.
  13. P

    Controls and Tabs

    Yes, those are also the control names for the comboboxes. I uploaded my database to Megaupload (it was too large to attach here), so please take a look at it. I still don't know what I'm doing wrong. . .
  14. P

    Controls and Tabs

    I checked it and it looks correct: It says the container name is subMaster. However, I noticed that the Source Object is also subMaster. Should I change that to the query name instead?
  15. P

    Controls and Tabs

    Thanks boblarson. In the AfterUpdate code, I have this: Dim rs As Object Set rs = Me.Recordset.Clone rs.FindFirst "[ItemClass] = '" & Me.cboItemClass_tab2 & "'" If Not rs.EOF Then Me.Bookmark = rs.Bookmark If Me.Dirty Then Me.Dirty = False Me.tabSpreadsheet.Requery...
Back
Top Bottom