Search results

  1. C

    method or data member not found

    Have you tried... Me.[cboTapeNbr] Otherwise if you use the full name i.e. Forms!YourFormName.cboTapeNbr
  2. C

    linking forms

    Is there a reason that you don't want to use the subforms? If you reference them correctly then you should be able to do what you want using them. If you're confident w/ your VB then I'll give you some suggestions, but to describe exactly how to do this using VBA would take too long. Declare...
  3. C

    mutually exclusive UNION query

    This is the query that I'm using... "SELECT DISTINCT TOP 9 t.Category FROM tblMenu AS t LEFT JOIN (SELECT DISTINCT TOP 9 Category FROM tblMenu ORDER BY Category) AS q ON t.Category = q.Category WHERE q.Category Is Null;" It's the same as the previous query w/ different fields, table names and...
  4. C

    mutually exclusive UNION query

    Thanks for the help, Pat. I'll give that a shot.
  5. C

    mutually exclusive UNION query

    Hello everyone, Using a UNION statement, can I retrieve records that are mutually exclusive in each SQL statement? Something like this, but where all records are returned, but the TOP 5... SELECT Products FROM tblProducts '<<returns all products UNION SELECT TOP 5 Products FROM...
  6. C

    Using a TOP 10 query. Next 10

    Thanks for the help, Nouba. It's amazing the level of complexity that can be applied to SQL. Pretty Smart. I should be able to get it to work from here.
  7. C

    Using a TOP 10 query. Next 10

    Hello, If I use a TOP 10 query to get the top 10 results from a table, can I somehow retrieve the next 10 results in the list w/o too much trouble? I could count the records and then use a TOP "whatever" percent, I think. Is there any easier way to do this? I can't seem to find the answer. Thanks.
  8. C

    Setting focus after adding record

    try at the end of your commandbutton code Me.YourFieldName.Setfocus HTH
  9. C

    Create command buttons using code

    I've tried the following code, but it gives me an error that MS-Access cannot add, delete, ...the control. Can someone direct me to the Reference that I'm missing here? code.... Dim cmdTest As Control DoCmd.OpenForm "frmTest", acDesign Set cmdTest = CreateControl("frmTest", acCommandButton...
  10. C

    ComboBox as Control Source

    try... [Forms]![frmTracking]![cboActivity].Column(1) if that doesn't work then try... [Forms]![frmTracking]![cboActivity].Column(1, 0) For this to work, the combo's properties must be set up to show 2 columns. For more info. search in help under column. HTH
  11. C

    Create command buttons using code

    Hello all, Can someone give me direction on how to create command buttons by using VBA? I would like an interface where buttons are based on the values in the tables. I can access the tables with no problem, but I can't figure out how to create the buttons on the fly. Any ideas or sites that...
  12. C

    mainform "findfirst" causes Subform to jump to top record

    I wrote a longer response last-time, but deleted most of it while I thought I was rambling. Thanks for your guidance, John. You seem to speak my language. You're right, in that, the subform's "re-set" is a built-in response to the mainform's recordsource requerying. I've got a solution that...
  13. C

    .ldb file format

    look here... http://support.microsoft.com/default.aspx?scid=kb;en-us;208778
  14. C

    Please put me out of my misery

    Combo requery after change You can put the following code in the Combo's OnChange Event... Me.Requery Since it refers to itself, you should only need the above... If it doesn't work, then try the full name again.
  15. C

    Please put me out of my misery

    When you reference a subform, you must include the name of the MainForm that houses your SubForm. I know it's confusing, but it's logical. Make sure that the names are the actual names you have given your forms. See prior post
  16. C

    Please put me out of my misery

    I'm sorry.... I didn't see you had a subform.... Reference the subform control by.... Forms!YourMainFormName.YourSubFormName.Form.YourComboBoxName.Requery
  17. C

    Please put me out of my misery

    you need to replace YourComboBoxName w/ the actual name of the combo(click the combo...view properties...Name) if that doesn't work use a full reference... Forms!YourFormName.YourComboBoxName.Requery Try that....
  18. C

    Please put me out of my misery

    You could put the following in the Form's OnCurrent Event.... Me.YourComboBoxName.Requery HTH
  19. C

    Need help with this quick question!!!!

    1.)Both form's recordsources need to have the EmployeeID included. 2.)When that's done, you can drop your subform on your mainform and Access should find the common EmployeeID link. Since that doesn't seem to be happening, you may need to adjust the forms' recordsources. If your subform is...
  20. C

    Combo Box to open

    Set the combo's Allow AutoCorrect property to Yes.
Back
Top Bottom