Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by sunshine19

  1. sunshine19

    Allowing the user to select the table to import

    I would like to allow the user to push a command button and import a table from one Access database to another access database. I am using an API call for the user to be able to select the access database in which the table exists but I am at a loss for how to allow them to select the specific...
  2. sunshine19

    Printing A form

    What if you have a form that has many tabs? Is there an easy way to print what is on those tabs at the same time the main part of the form is printing and the tab that is selected?
  3. sunshine19

    Update stmt with select in the set part

    I think your SQL statement is your problem (I could be wrong). Normally, the Select part is in the WHERE clause.
  4. sunshine19

    Type mismatch in expression

    Do you have an IIF statement or sql statement in your form? If so, check these types of things to see if you have quotes around numeric data types or no quotes around text, etc.
  5. sunshine19

    if item has focus

    When are you going to check which control has focus? More info needed to help you.
  6. sunshine19

    How to code my Delete Button ???

    I don't have that version. I have 97. Try it with .Find and not .save and see what results you get. The code I give you works for 97 but obviously does't for 2002. Maybe it is a conversion thing to ADO from DAO and the syntax has changed. Sorry that I am not much help. Maybe someone else...
  7. sunshine19

    How to code my Delete Button ???

    Should have asked this earlier. What version of Access are you working with?
  8. sunshine19

    How to code my Delete Button ???

    change .Find to .FindFirst and remove .Save If you fix that it should work. .Save is not necessary.
  9. sunshine19

    How to code my Delete Button ???

    try this for strcriteria strCriteria = "[recall_date] = #" & lstYourListBox.Column(1) & "# AND [pat_num] = '" & lstYourListBox.Column(0) & "' AND [recall_type] = '" & lstYourListBox.column(2) & "'" I am assuming that your list box columns are pat_num...
  10. sunshine19

    How to code my Delete Button ???

    If you are not already bringing the pat_num into your list box, bring it as a column to your list box. You can hide the column for your pat_num so it doesn't show in the list box. In my code below I am assuming that your list box has 3 columns and the first column is the pat_num. On the click...
  11. sunshine19

    Moving Data across multiple forms

    Do you keep your first form open? If so, then when the third one is open refer back to the specific controls on the first form. For example: a control on form1 is txtName and I want to bring it to form3 txtname. I would put this "=[Forms]![Form1]![txtName]" in the control sources...
  12. sunshine19

    question about list box results

    I have a list box that has numerous rows and I want to apply a conditional format on the row results. For example I want to change format of the font for those rows that have a date of birth prior to 1/1/1980. Is there a way to apply a conditionally format to specific rows in a list box?
  13. sunshine19

    edit the records defined in a form

    I assume that you have text boxes on your form. Have you tried to set the default property to your text boxes and have that store your information that you want to modify? If you want to delete a specific record that is viewing on your form then try having a command button and a delete query...
  14. sunshine19

    data export to excel

    Have you tried to write your own global module in the Excel workbook that reformats the cells that have the calculation in them to "general" cell format. Or maybe you could create your calculated field in the global module and insert it in the fields needed because sometimes when you...

Part and Inventory Search

Back
Top