Search results

  1. mhartman

    Empty a folder

    A simple internet search uncovered this: http://word.mvps.org/FAQs/MacrosVBA/DeleteFiles.htm
  2. mhartman

    In need of help

    Hello: Your welcome!
  3. mhartman

    In need of help

    Hello: Here you go....... http://support.microsoft.com/kb/296246/en-us Regards Mark
  4. mhartman

    Detect whether RecordSource data comes from a query

    Hello: I'm not sure what version your using, but the below works for XP and 2003 and maybe 2000 Regards Mark Sub AllQueries() Dim obj As AccessObject, dbs As Object Set dbs = Application.CurrentData ' Search for open AccessObject objects in AllQueries collection. For Each obj...
  5. mhartman

    Detect whether RecordSource data comes from a query

    Hello You can use the MsysObjects table and get it from there. the digit 5 is the constant for queries. SELECT MsysObjects.Name FROM MsysObjects WHERE (((MsysObjects.Type) In (5))); Regards Mark
  6. mhartman

    Know what day it is???

    Here you go..... http://www.mvps.org/access/datetime/date0006.htm Regards Mark
  7. mhartman

    Access 2000 and 2003 Applications

    http://www.fmsinc.com/products/startup/
  8. mhartman

    SubReport with multiple Columns

    Hello: On your report there should be a Property called PageHeaders: Make sure that it is set to "All Pages" Regards Mark
  9. mhartman

    Run report based on SQL

    Hello: I believe you need to set the RecordSource property of your report to your SQL statement! rDelivery.RecordSource = Your SQL Statement Regards Mark
  10. mhartman

    Help with Time()

    Hello: Please see enclosed attachment Regards Mark
  11. mhartman

    Test for new employees

    Hello: For SQL, I would ask the most basic task of returning all records from a specific table. If they REALLY no SQL they would no the short cut to do this. For instance, ' SELECT * FROM tblEmployees; would return all records from tblEmployees. The key is the Asterisk symbol. Regards Mark
  12. mhartman

    Listbox OrderBy

    Great! Also I glad I was able to respond to your message in a timely manner. I accidently stumbled on to it looking for something else. Regards Mark
  13. mhartman

    Listbox OrderBy

    Hello Enclosed is an example of how to determine the X and Y values of the mouse pointer. I hope this explains it: Just two lines of code in the MouseDown event. Regards Mark Private Sub Detail_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) 'Determine the X...
  14. mhartman

    Listbox OrderBy

    Hello: I just saw your message today July 23 2007. I will look up my example and post. Regards Mark
  15. mhartman

    checkbox show as unchecked on Form after being Checked

    Hello: One way to accomplish this is to have a duplicate check box field in your table next to the original. Then when some checks your check box on your form, use the AfterUpdate event of the first check box field to update the duplicated check field. You will have to do this with VBA code...
  16. mhartman

    How to UN-highlight a field

    Hello: If you had a control named TEXT1 on your form, the below code would put the cursor at the beginning of the text box. This would go in the Form Current event of your form. Regards Private Sub Form_Current() Me.Text1.SetFocus Me.Text1.SelStart = 0 End Sub
  17. mhartman

    How to UN-highlight a field

    Hello: Here is an article with an example: Regards Mark http://msdn2.microsoft.com/en-us/library/aa218286(office.10).aspx
  18. mhartman

    How to UN-highlight a field

    Hello If you are familiar with VBA you can use the SelStart property do this. It cancels the selection. Its in the help section. Regards Mark
  19. mhartman

    cannot add or change a record because a related record is required

    Hello again. A good way to trouble shoot the problem would be to start with just your primary table and ONE subordinate table in the relationship. Then run your form with just that to see if it completes the record and lets you advance. Then add the next table and do the same procedure...
  20. mhartman

    cannot add or change a record because a related record is required

    Hello The problem most likely is that your complete record as defined by your relationships in incomplete. You have a blank somewhere thats not getting filled in. Regards Mark
Back
Top Bottom