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. mgmslate

    Method is too slow...Dlookups Dcounts etc

    Have you considered creating a recordset using your criteria and have storageItemsCount = RecordCount. Mike
  2. mgmslate

    RS findfirst method without clone

    If you are using a bound form try rs.edit instead of rs.addnew. Mike
  3. mgmslate

    Running Totals for Checkbook help

    You could add another column where deposits are positive numbers and withdrawls are negative and use that column for your running balance. Mike
  4. mgmslate

    HIde Form from another form

    If you want to make the first form visible try using Forms(0).Visible = True in the onload event in your second form. Mike
  5. mgmslate

    Calendar

    Use a list box to show your events instead of a textbox. Create a SQL string to capture your events and loop through each listbox to set the rowsource to your SQL string. Mike
  6. mgmslate

    One report for one record

    Try this in your command button on click event using your report name and your id fields. Dim stDocName As String Dim strCriteria As String stDocName = "myreport" strCriteria = "myid = " & [myID] DoCmd.OpenReport stDocName, acPreview, , strCriteria Mike
  7. mgmslate

    Printing from a form

    Save a copy of your form as a report, then put a command button on your form to print the report. Mike
  8. mgmslate

    Calender control that allows text to be entered on days driven by DB

    I created a calendar based on gol4's faq(thankyou) and put a listbox under each textbox. The listbox recordsouce is a sql string which pulls the companyname by date from my appointments table. I set an on click event on the listbox to open a form to show all details regarding the appointments by...
  9. mgmslate

    Possible to Export Form as is to MS WORD???

    In my access handbook (Access 2000 VBA )there is some code to send info from the text boxes on your form to OutLook. I created a form called frmemail and 3 text boxes, txtemail to hold the email address and 2 to hold test info so I could test it. Create command button On Click Event Dim...
  10. mgmslate

    using a form to select another form

    Create an unbound combo box on the form you want the data filled in and in the After Update event put in the following ' Find the record that matches the control. If CboClient <> &quot;&quot; Then Me.RecordsetClone.FindFirst &quot; [Clientid] = &quot; & Me![CboClient] ' Me.Bookmark...
  11. mgmslate

    Dynmaic Query

    Set enabled to no on your text box and use a check box to enable them. If the text box is not enabled then all records will return. Use a msgbox to warn user if the check box is yes and the text box is null. Mike
  12. mgmslate

    Dynmaic Query

    I have a form where I choose the parameters and pass them to another form in the form open where condition. Dim strcriteria As String If chklengthID Then strcriteria = strcriteria & &quot; AND lengthID = &quot; &_ cbolengthID End If If chksupplierID Then strcriteria = strcriteria &...
  13. mgmslate

    Run-time error 462

    I am trying to export customer info from a form to bookmarks in a word doc. The first time it works fine, the next time I get run-time error 462 the remote server machine does not exist or is unavailable and the template opens with no info in the bookmarks. After I close the document and end out...
  14. mgmslate

    E-mailling From Access Database

    Application.FollowHyperlink &quot;mailto:&quot; & textbox Mike
  15. mgmslate

    Scriverb - Need Help!!

    Not sure if this it what you are looking for but I have a form with several checkboxes and comboboxes. If the checkbox = true then I pass the value in the combobox to the report using the where condition. Dim sWHERE As String If chklengthID Then sWHERE = sWHERE & &quot; AND lengthvalue =...
  16. mgmslate

    Hide Forms

    I have a main customer form with buttons to open related forms which the users go up and down like a ladder. I thought it would be better to hide the forms as they go up the ladder, then make them visible as they go back down rather than open and close the same forms constantly. Hope this makes...
  17. mgmslate

    Hide Forms

    I am drilling down through forms and only want the current form to be visible. In the command button on each form I am trying to call the following routine and I get a type mismatch. What am I doing wrong. Thanks Mike Public Sub formhide() Dim frmcurrent As Form Set frmcurrent =...
  18. mgmslate

    Can't find file after compact and repair

    We have a peer to peer network with the backend mdb file on a computer running windows xp home edition and access 2000. After doing a compact and repair I get an error microsoft access can't find the file. I can open the file on the computer where the back end is stored. Did not have this...
  19. mgmslate

    EASY ONE: Calender go to current date

    Did you change the name in your activex control to calendar? Mike
  20. mgmslate

    Open new form with new record for option picked from other form

    Have you tried on your button Click() Docmd.openform&quot;formB&quot; docmd.gotorecord,,acnewrec forms!formB!nameid = forms!formA!listboxname Mike

Part and Inventory Search

Back
Top