Search results

  1. Henley12

    Very odd problem

    I also notice in VBA when I am typing the ctl.Tag, the Tag property is not in the list.
  2. Henley12

    Very odd problem

    I am familiar with the tag property. My screenshot is too big for the forum. I am positive it is in the right place, but it just doesn't appear to be working as you say it should. I put the word "reset" in the tag property (without the quotes), then I modified my code to read exactly as you had.
  3. Henley12

    Very odd problem

    That doesn't appear to work. This is Access 2007, would that have something to do with it?
  4. Henley12

    Very odd problem

    I have just one more question. Suppose you have more comboboxes on the form than just the sort fields. How do you keep from clearing those with the code you specified, Bob?
  5. Henley12

    Very odd problem

    Perfect!!! Thank you very much, Bob.
  6. Henley12

    Very odd problem

    Any ideas on this one?
  7. Henley12

    Very odd problem

    Here is a test database I whipped up in 5 minutes.
  8. Henley12

    Very odd problem

    I have a form with selection to create a report. Everything works fine except the sorting part. I have a series of 8 combo boxes to choose the sorting order of the report. The users will probably never use all eight, but I gave them the option. Anyway, as you open the first box and choose a...
  9. Henley12

    Speeding up a query

    This is not an Access database. I believe it is an Oracle database.
  10. Henley12

    Speeding up a query

    The date fields are indexed, however they are down on the list of indexed fields. Somewhere in the 5 or 6 range. That would make quite a difference, wouldn't it?
  11. Henley12

    Speeding up a query

    I have a huge table that I am trying to query for a date range. Is it faster to do a select on just the fields I need as opposed to a SELECT * FROM (tblname)?
  12. Henley12

    Using the Cancel on an InputBox

    How can I program to use the Cancel on the InputBox? I have a form that has a copy button on it. When I copy the record, it prompts for a new Equipment number. If the number exists, a msgbox pops up telling the user to enter another equip number. It then goes back to the InputBox to enter an...
  13. Henley12

    Question Problems with charts in Access 2007

    Is anyone else having a problem creating charts in Access 2007? I don't know if it is some kind of bug or what, but every time I try to create a chart based on a query, I either get an error that kicks me out of the database, or it won't close and save. Is this a known problem?
  14. Henley12

    Inserting accidentally deleted record

    Is there a way to put a record back into a table with the same autonumber it used to have? For instance, I accidentally deleted record # 8 and I need to reinsert it with the same number, which happens to be the Work Order ID field. Is that possible?
  15. Henley12

    Descriptive text in the textbox

    Is there an easy way to put some descriptive text inside a textbox, have it grayed out, and when you enter text in the box, it overwrites this text? For instance, I have an Issues database. In the text field, I want to put the text as follows: Enter your issue here. Then when they type in...
  16. Henley12

    Copying a record

    By jove, I think you've got it!! Thanks very much for all the help.
  17. Henley12

    Copying a record

    EquipID is not a numeric field. I'm not having a problem with the dlookup, except when it is supposed to loop and check again. When it loops back, it gives me an invalid use of null error. I should have been more specific in my explanation. What I am wanting to know is if this is the proper...
  18. Henley12

    Copying a record

    I am trying to copy a record on a form, but when I do I need to put in a new equipment id number. I have some code to check for duplication, but it does not appear to be working quite correctly. Can anyone see anything obvious? I know this should be an easy solution. Thanks. newID =...
  19. Henley12

    Avoiding duplicate numbers

    I'm getting a "data type mismatch in criteria expression" error on that line. My EquipID field is a text field and the newID is a string data type.
  20. Henley12

    Avoiding duplicate numbers

    I'm getting an error in the following line of code: Private Sub cmdCopy_Click() Dim oldKey, varRV As Variant Dim strBookMark, newSerial, strMsg, newID, varID As String txtCopy.Value = 1 oldKey = EquipKey 'On Error Resume Next DoCmd.RunCommand acCmdSelectRecord...
Back
Top Bottom