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 Mike Lewis 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. adalger

    extract pdf file by contract name using vba

    I have adobe acrobat and ms office 2010." OP explicitly says they have Adobe Acrobat. I don't feel like that's so much an assumption as me having read the post and trusted OP to know what they have installed. YMMV. TMTOWDI - it's not just for Perl any more
  2. adalger

    extract pdf file by contract name using vba

    You can gain access to all the functionality Acrobat exposes through what it calls IAC (Interapplication Communication) by setting Acrobat as a reference in your VBA project. Then your pseudocode would look something like this: 'create an adobe AVDoc document object 'open the pdf file in the...
  3. adalger

    Use VBA to discover field names in SWF

    Hi, people. I asked this in the Flash forum, but there doesn't seem to be a lot of activity there. If any of you are well-versed in interactions between Flash and VBA, could you please look at my post over there? http://www.tek-tips.com/viewthread.cfm?qid=1622825&page=1 Thanks for any insight...
  4. adalger

    Use VBA to discover field names in SWF

    Hello, a colleague has asked whether it is possible to use VBA to walk a Flash (.SWF) object to find out what objects and methods it exposes. In particular, he's looking to find the names of text fields he can set or retrieve while the app is running. Is there any way to do this without...
  5. adalger

    dao recordset update: move to record just added

    Thanks and stars around. :) This should do what I need in this case. TMTOWDI - it's not just for Perl any more
  6. adalger

    dao recordset update: move to record just added

    I'm using .addnew because that's what Sussman and Smith taught me. ;) I'm unfamiliar with the "@@@@IDENTITY" notation. I'm also a little weak on raw SQL. Can you explain in a little more detail what's going on in your code, please? Thanks! TMTOWDI - it's not just for Perl any more
  7. adalger

    dao recordset update: move to record just added

    Hi, can I get some opinions, please, on what's the best way to make the record just added with .AddNew and .Update the current record? E.g.: dim rst as DOA.Recordset set rst=CurrentDB.OpenRecordset("tblExample") rst.AddNew rst.Fields("SomeRandomData") = "Trivial Fact" rst.Update ...
  8. adalger

    Combo Box Display on Form Refresh?

    The difficulty isn't in refreshing the display, it's in changing the value to be displayed. You'll need to either store that value in your table and make the control a bound control, or have a way to reconstruct the value and use code in OnCurrent() to set the control to this value. If I...
  9. adalger

    DoCmd TransferSpreadsheet Help

    Is cmdReports on the same form as the date fields you're using? If not, is this form open and does it have valid dates in those fields when you test the function? Really, seeing *one* example of the full query, the output when you click your button, and the output when you open the query as a...
  10. adalger

    DoCmd TransferSpreadsheet Help

    This method works fine for me in Access 2000 with Office 2007. Can you provide an example of one of the queries that isn't working, and the results of the query itself when you open it from the database window? TMTOWDI - it's not just for Perl any more
  11. adalger

    Get rid of carriage return when outputting to .txt file

    Print #lFnum, sOutput; TMTOWDI - it's not just for Perl any more
  12. adalger

    Combo Box Display on Form Refresh?

    Requerying an unbound control won't really do anything. If you need the Jurisdiction combo to remember what jurisdiction is associated with a particular record, you'll need to store or be able to reconstruct that information. Another way: with Jurisdiction unbound, it doesn't have a "value for...
  13. adalger

    Clock in / out

    scripting the clock in/out" depends very much on what you want to do with the information. To do it *right*, you'll want to design your app so it remains useful if your brother's business is successful to the point that he needs more employees than he has friends than can be implicitly trusted...
  14. adalger

    Show only duplicates

    You'll want to start with something like this: SELECT tblDevice.EID, Count(tblDevice.Cell_Number) AS NumPhones from tblDevice GROUP BY tblDevice.EID HAVING Count(tblDevice.Cell_Number)>1 This will give you a list of all your employee IDs that have more than one cell number, and how many they...
  15. adalger

    Entering specific numbers in form fields

    I can think of a couple of ways to validate the even quarter-hours rule. The easiest is probably to multiply the number by 4 and see if you have an integer. If not, flag the field and instruct the user to enter appropriate data. For the exploding zeros, I'd suggest setting up code for OnEnter...
  16. adalger

    Copying a record

    Dim rstSrc as DAO.Recordset Dim rstDest as DAO.Recordset Dim fld as Field // do your stuff to get the desired record into rstSrc // and point rstDest at the destination table // Loop the following for each record you want copied: rstDest.AddNew For Each fld in rstSource.Fields...
  17. adalger

    Using a check bow to select text box data

    If the checkbox doesn't relate to a table field, what you would do is generate the query SQL in code. E.g., Dim strSQL as String strSQL = "SELECT * FROM tblData WHERE " If [chkOne] Then strSQL = strSQL & "[Field1] = '" & txtOne & "' AND " End If // additional conditions as desired for any...
  18. adalger

    Run-time error ‘1004’

    My first guess is that it has to do with user permissions in the OS. For users who get this error, do they have access to the search functionality of the OS via Start -> Search? What about for users who do not get this error? TMTOWDI - it's not just for Perl any more
  19. adalger

    Microsoft Office Access can't find form...

    Then you've misspelled the name of the form or named it to something other than what you think you have, probably. What's the name of the form now? TMTOWDI - it's not just for Perl any more
  20. adalger

    Adding another option OnActivate

    Check out DoCmd.OpenForm; it should do what you want. You'll just have to pass it the appropriate query to use as a record source. TMTOWDI - it's not just for Perl any more

Part and Inventory Search

Back
Top