Search results

  1. P

    Auto select in a list box

    http://www.access-programmers.co.uk/forums/showthread.php?t=139267
  2. P

    Login prompt to define a user in main form

    This can be done but there's some work involved. Here's a rough example that uses the Windows user name for the people in charge of recontacting a company, perhaps something you can use as a starting point as you build your solution... Option Compare Database Option Explicit Private UserX As...
  3. P

    'Invalid use of the Dot' - but the code worked before?

    Is the the list box's "Multi Select" property set None? If not, change it to None and try again...else try the following... reportname = cstr(listReports.Value) Regards, Tim
  4. P

    based on combobox text select textbox for add data

    I prefer nightmayor's solution because it's clear what the code is doing... Select Case ComboName.Value Case "Jan" Me.Jan = "Hi" Case "Feb" Me.Feb = "Hi" Case "Mar" Me.Mar = "Hi" End Select Yet you could also do this...
  5. P

    Multiply Contents Of Text Box By Contents Of Label

    msgbox CDbl(Me.LabelName.Caption) * CDbl(Nz(Me.TextBoxName.Value, 0)) Regards, Tim
  6. P

    dlookup function to retrieve query results

    Just a guess...did you use the equal sign? =dlookup("[lastname]","qrsChildren") Regards, Tim
  7. P

    Double Click on Record Selector Event

    If I understand what you're asking, there are many ways to do what you want, including using OpenArgs. Code in the calling form... DoCmd.OpenForm "FormNameHere", acNormal, , , , acDialog, ValueofRecordToGet In the called form's open event handler... If Len(Me.OpenArgs) Then Me.Filter =...
  8. P

    Double Click on Record Selector Event

    I'm not sure you need any code... http://office.microsoft.com/training/Training.aspx?AssetID=RP101191331033&CTT=6&Origin=RC101178791033 Regards, Tim
  9. P

    I'm losing it! Help needed.

    And then someone will delete his user account and there will be an uproar in the 'cooler. Thanks for the code, Bob. You've still got it...even if the OP is AWOL.
  10. P

    How to Retrieve the Path for Linked OLE Objects

    The article says the "procedure may not work in some circumstances..." and "storing the path in a separate Text field when you link the OLE object is the best way to ensure that you will be able to retrieve the path later." Will that not work for you? If not, you could probably come up with...
  11. P

    exportXML

    Not sure how to do this inside Access but XSLT could be used outside of Access to transform the format... http://www.w3schools.com/xsl/ Regards, Tim
  12. P

    I'm losing it! Help needed.

    Let's stop sugar coating things and come clean. Bob has lost it.
  13. P

    VBA, Message Boxes and Locks Query

    Try... If Trim(Me.STATUS) = "Live" Then etc... Regards, Tim
  14. P

    Ken Higg hits 10,000 posts

    No worries...life's more interesting at the edges...
  15. P

    Story

    after being banned
  16. P

    Linking Pictures in Forms and Reports

    There's an example of how to do this in one of the Access sample files -- that is, the Northwind databases. Search your hard disk (or the Internet) -- for northwind.mdb and once found open the DB and check the Employee form. Regards, Tim
  17. P

    Story

    man from Non-Sequitur.
  18. P

    Story

    Speaking of mice
  19. P

    Saving to a folder

    Private Sub Blah() Dim mypath As String: mypath = "C:\MyFakeFolder\MyFile.txt" Dim myfolder As String: myfolder = GetFolder(mypath) Dim fso: Set fso = CreateObject("Scripting.FileSystemObject") ' Create folder if necessary. If fso.FolderExists(myfolder) = False Then...
  20. P

    Ken Higg hits 10,000 posts

    Way to go, Ken. Keep up the good work... Seems like this is turning into an appropriate thread to celebrate the occasion...
Back
Top Bottom