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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. joshs1100

    Writing a record from the AS400 to a MS SQL 2000 table

    How do you create the odbc connection to the target MS SQL database from the AS400?
  2. joshs1100

    Writing a record from the AS400 to a MS SQL 2000 table

    Is it possible to write a record to a table on a MS SQL 2000 server from the AS400 using ODBC, or some other means of connection? Thanks!
  3. joshs1100

    Sending email from outlook, how to get list of "to" addr's from table

    Thanks! Was just what I needed. I had to add the reference for the DAO Library, and added rs.MoveNext to get it to move to the next record in the recordset on the loop. Dim db As DAO.database Dim rs As DAO.Recordset Dim strtabname As String Dim strrecipients As String strtabname =...
  4. joshs1100

    Sending email from outlook, how to get list of "to" addr's from table

    When using DoCmd.SendObject, how can I take a table with a list of email addresses, and use it in the expression to complete the "to" parameter with a semicolon separated list? Thanks!
  5. joshs1100

    Sending email from outlook, how to get list of "to" addr's from table

    I think I may have posted this in the wrong forum. I'm using an access table to store the addresses, and using a command button on the form to send the email using outlook.
  6. joshs1100

    Sending email from outlook, how to get list of "to" addr's from table

    When using DoCmd.SendObject, how can I take a table with a list of email addresses, and use it in the expression to complete the "to" parameter with a semicolon separated list? Thanks!
  7. joshs1100

    Index Tuning wizard, Profiler Event ID 998 Error

    I am trying to run the Index Tuning wizard, and it fails with "The server returned an error attempting to optimize a query" In the application log, it shows: Event Type: Error Event Source: SQLServerProfiler Event Category: Internal Error Event ID: 998 Date: 3/9/2004 Time: 9:44:26 AM User...
  8. joshs1100

    report with sub-report activated from form

    Try your where condition like this: "[Cycle]= " & [Forms]![Trtmnts_Admnstrd]![Cycle] & " And [Patient Number]= " & [Forms]![Trtmnts_Admnstrd]![Patient Number] The where condition needs to be a string expression, so you have to enclose your text in "text here&quot...
  9. joshs1100

    format disabled field

    If you lock and disable it, it will revert back to the standard field format, and will not be a tab stop. That's what I usually on calculated fields.
  10. joshs1100

    Custom Menu Bar File->Print Problem

    I haven't used xp, but in 97 and 2000, I just went to View - Toolbars - Customize. Create a new Menu bar, then just drag and drop stuff from the default menu bar to the new one. Then I reset the default menu bar.
  11. joshs1100

    How can I make vba wait until a report is spooled to continue?

    I am trying to print 4 reports off of one command button. Each report can vary in the number of pages it contains. The 4 reports need to print in order. The problem I run into is, it starts spooling each report one after the other, and which ever report spools first, prints first. So if a long...
  12. joshs1100

    Cleanly Preventing Form Closure on a Dirty Record

    I think I have found an answer to the problem here that seems to be working for me. In the before update event, if any of my required fields are null, I first do a docmd.cancelevent to cancel the odbc error that pops up (not sure if you would have this if you don't use odbc linked tables, I get...
  13. joshs1100

    Sql Server Login Error

    If they are not a dbowner, make sure that dbo use only is turned off.
  14. joshs1100

    Open Combo Box by Hitting the Down Arrow

    In the On Key Down Event, put this code. If KeyCode = 40 Then Me.comboboxname.Dropdown Replace comboboxname with the name of your combo box.
  15. joshs1100

    Format Align difference between Access 97 and 2000

    Am I the only one that is affected by this, or is there no way to change the function?
  16. joshs1100

    Query constantly displayed in a form

    On each of the 7 fields you enter into, put an after update event that requeries the subform that has the total. subformcontrolname.requery
  17. joshs1100

    Format Align difference between Access 97 and 2000

    Is there any way to change the format - align functions in Access 2000 to act as they did in 97. Exampe: on a form you have 2 text boxes that overlap. You select both, and do a format - align - left. In access 97, it will move the left edge of the right box in line with the right edge of the...
  18. joshs1100

    Any way to use this SQL statement without grouping by Type?

    SELECT Table1.Item, CASE (Table2.Type) WHEN 'Variable' THEN SUM(Table1.Cost) END AS V_Cost, CASE (Table2.Type) WHEN 'Fixed' THEN SUM(Table1.Cost) END AS F_Cost FROM Table1 INNER JOIN Table2 ON Table1.TYPE = Table2.Type GROUP BY Table1.Item, Table2.Type
  19. joshs1100

    how can I Let numeric field = null

    I am trying to use code to remove a value entered into a numeric field on a form. When I use "Let Fieldname = Null" I get run-time error '3162'. If I use "Let Fieldname = Empty" it puts a '0' in the field. I want the field to be equal to the same thing it is when you press...
  20. joshs1100

    Custom Menu Bar File->Print Problem

    Got it to work. Copied the option from the standard menu.

Part and Inventory Search

Back
Top