Recent content by mhartman

  1. mhartman

    Set all values of a form to enabled = false

    Hello You would loop through the controls collection to do this: Put the following under a command button click event and run: Dim ctl As Control For Each ctl In Me.Controls MsgBox ctl.Name With ctl Select Case .ControlType Case acLabel...
  2. mhartman

    Correcting the #Num! error in a form control

    Hello: You might try also, the IsError function to test for an error. Division by 0 does generate this error. Regards Mark
  3. mhartman

    Best Way to Loop Through and Close Certain Forms

    Hello: You would use the "ALL Forms" collection to do this: Sub AllForms() Dim obj As AccessObject, dbs As Object Set dbs = Application.CurrentProject ' Search for open AccessObject objects in AllForms collection. For Each obj In dbs.AllForms If obj.IsLoaded = True Then...
  4. mhartman

    Output to xls

    View, Design View, File Save As
  5. mhartman

    Output to xls

    In Access, saved your SQL statement as a query. It should then work. Regards Mark
  6. mhartman

    Combine two fields?

    Hello Sarah I have enclosed an example of one way to do this: The database is of the relational type. IE: One job may have many managers. This is what Wayne was referring to above. Take a look at the report and see if this is what your after. This was made in Access 2003 Regards Mark
  7. mhartman

    Query totals

    Hello: SELECT Sum(YourTableName.YourField2SumName) AS SumOfYourField2SumName FROM YourTableName; Regards
  8. mhartman

    Combine two fields?

    Sarah, what you do then is base a query on your table that returns only the records that are managers. Then group on the individual names. Also, if this does not work, if your post a sample of your database, I will attempt to fix it. Regards Mark
  9. mhartman

    Combine two fields?

    Sarah, run the report wizard to build your report. When the wizard asks if you to have any grouping, this where you would select your managers. Regards Mark
  10. mhartman

    Disabling Pop-Up MessageBox for Record Operations

    Hello: You need to disable the "SetWarnings" setting to dispense with the Access standard warning messages. Regards Mark
  11. mhartman

    Need sample database for stock transactions

    A basic search found this.......... http://office.microsoft.com/en-us/templates/CT101426031033.aspx?av=ZAC000
  12. mhartman

    Importing Excel Data

    So, what's your question?
  13. mhartman

    do not want to enter the decimal point

    Hello: Look at "Input Masks". The following mask, ###.## will do what you ask. Set Format field to currency and construct the required mask for the "Input Mask" property. Regards Mark
  14. mhartman

    Average

    Also: see attachment
  15. mhartman

    Average

    Hello: Here is a example of what MStCyr was referring to: Run the report. In design mode notice the Format property setting. Regards Mark
Top Bottom