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 SkipVought 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. Porsche996GT2

    How to delete Machine Data Sources...

    Thanks PHV. Did not think of that (/me is scratching his head.)
  2. Porsche996GT2

    How to delete Machine Data Sources...

    Hello, I just would like to know how I can delete Machine Data Sources created in Access by mistake. I'm thinking there should be a file kinda like tnsnames.ora in oracle that has a list of linked connections but I'm not sure if this is the case with Access. Any help would be appreciated. Thanks!
  3. Porsche996GT2

    Autonumber for Queries

    Hello All, I tried this code and it works ok: (declarations) Option Explicit Dim mlngCounter As Long Function ResetCounter() mlngCounter = 0 End Function Function GetNextCounter(pvar As Variant) As Long mlngCounter = mlngCounter + 1 GetNextCounter = mlngCounter End Function In the...
  4. Porsche996GT2

    Autonumber for Queries

    Hello abaldwin and dRahme, I'm just trying to do it on a query. I automated the creation of these queries on a loop and each time it gets created, it runs with a different criteria and gets deleted. I basically want a numbering on each of the query results, as the numbering will be used in a...
  5. Porsche996GT2

    Autonumber for Queries

    Hello All, Is there a way to create some kind of an autonumber for queries? I automated a query to run several criteria and I would like to have the records numbered each time the query is run. Any help will be greatly appreciated. Thanks!
  6. Porsche996GT2

    Can anybody please tell me what's wrong...

    Hello Ken, Thanks for your help. I was able to make it work by creating a nother query based on that query. It's probably inefficient but it works now! Thanks, Porsche
  7. Porsche996GT2

    Can anybody please tell me what's wrong...

    Hello Ken, Thanks for your reply. I pretty much just copied the SQL statement from the SQL view of my query, thus the continues line before the FROM statement. I think this is the line that's causing the error: Format(Format([anniversarymonth],""00"") & ""/01/"" &...
  8. Porsche996GT2

    Can anybody please tell me what's wrong...

    ..with my SQL statement? I'm doing this in VBA and am having problems with the punctuations: SQL = "SELECT qry2006RenewalsFlagged.PID, qry2006RenewalsFlagged.CID, qry2006RenewalsFlagged.SetID, qry2006RenewalsFlagged.[Group Name], Format(Format([anniversarymonth],""00"") & ""/01/"" &...
  9. Porsche996GT2

    Autoexec or something else?

    Hello Everyone, I'm working one of our databases at work right now and for some reason, even without the autoexec macro in my database, it automatically opens one of the forms when started. Where do I look next to stop the form from opening? Thanks, Porsche
  10. Porsche996GT2

    Run Time Error 3190 Too Many Fields Defined

    Hello, I keep getting the error on the subject line whenever I try to transfer my query results to an existing Excel spreadsheet. This wasn't a problem before but now it's coming up everytime I execute it. I read on some messageboard that it might be caused by updates to Office XP, and I...
  11. Porsche996GT2

    Saved Property in Excel XP.

    Great! Now that works... is there a reason why I have to add false now to the close method?
  12. Porsche996GT2

    Saved Property in Excel XP.

    Hi Geoff, I'm not sure why it's not working, but my close button sets the saved property of the workbook to true before closing it, there's no other code in between them: With ThisWorkbook .Saved = True .Close End With This is what I have in my module. It works fine as long as I don't...
  13. Porsche996GT2

    Saved Property in Excel XP.

    Hello, I tried the Saved property of a workbook in Excel XP to exit without getting the prompt to save it. But for some reason, it does not work, although it worked perfectly when I used Excel 97. Is there a reference that I have to add to make it work? TIA!
  14. Porsche996GT2

    Conversion Problems with MS Excel

    Hello all, We recently upgraded our MS Office version from 97 to XP(2002) at work. After the upgrade, some of us started experiencing issues with MS Excel. Some of the tools/programs we use (originally created/programmed in 97)just started crashing randomly while saving, closing, and sometimes...
  15. Porsche996GT2

    Using Password Characters with Input Box

    Geoff, sorry about that.. I was referring to MS Excel. I've been doing some research on it but it seems I already hit a dead end. Thanks for the reply though.
  16. Porsche996GT2

    Using Password Characters with Input Box

    Hello, Is it possible to use .Passwordchar property or password characters with Inputbox? TIA! Porsche
  17. Porsche996GT2

    Backcolor Integer Values

    Hello, Does anyone here have a list of integer values I can enter for the backcolor property of an object in Excel VBA? TIA! Porsche
  18. Porsche996GT2

    Obtaining Computer Names in MS Excel

    PHV, We're using 2K PRO here at work and that's even gonna work better for me.
  19. Porsche996GT2

    Obtaining Computer Names in MS Excel

    WOW! This is great! Thanks a lot; you get a star from me :)
  20. Porsche996GT2

    Obtaining Computer Names in MS Excel

    Hello, I am trying to incorporate a security feature in one of our MS Excel tools at work which requires me to get the computer names of users. I know this is already available in MS Access, though I only found the Application.Username property in Excel. Is there a way to get the computer name/...

Part and Inventory Search

Back
Top