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

    "Date" Field vs. Date() Function

    Brooks, Date is a reserved word in Access. I'd give it another name. Otherwise, you will have more trouble with it down the road. Wayne
  2. WayneRyan

    Don't Want To Launch Multiple Icons

    Hello, I tend to drag a lot of Access DBs & other stuff onto the desktop. Sometimes, when I attempt to double-click on something to run it, about 20 things will highlight and start to run. This is not good! I know (think?) that there's a Windows setting that limits the double-click to only...
  3. WayneRyan

    Who Opened This File?

    ouzojd, Thanks for the WHOHASIT tip. It is still available. The file was created by a process on the server and doesn't show up on the shared files list. Will convince the Server manager to give it a try. Thanks again! Wayne
  4. WayneRyan

    Who Opened This File?

    On a Windows 2000 Server, there is a file opened. The file is located in "C:\Temp\SomeFile.txt" This file can't be deleted, renamed, etc. - because it is "in use". The app that created the file is probably running (which one) and if the server is rebooted, the file can probably be deleted...
  5. WayneRyan

    How to chosse query fields from list box

    Spider, You can traverse the Listbox and construct your own SQL statement. You can put the SQL in a QueryDef. You can probably search here for QueryDef and see some samples. Normally, people use Listboxes to construct the - "Where field IN (...)" clause of a QueryDef, but there is no reason...
  6. WayneRyan

    Saving data entered in a combo box

    Tom, You can use the NotInList event of the combobox to: DoCmd.RunSql "Insert Into Ships (ShipName) Values ('" & Me.cboShipName & "'") Me.cboShipName.Requery Wayne
  7. WayneRyan

    3 dbs in 1 ?

    Congratulations Bob, The traditional reason for splitting a db is to put the data (back-end) on the server and the forms/reports (front-end) on the clients machines. This way the overhead of transporting all of those forms/reports over the network is alleviated. An added benefit is that "most...
  8. WayneRyan

    SQL Server job taking longer

    r, Did you lose an index? Wayne
  9. WayneRyan

    Limit to the number of OR Condition

    laker, I've programatically made some triggers and procedures that must have had at least 75-100 "Or" clauses. No problem. Wayne
  10. WayneRyan

    Problems saving recordsource property

    One, When you change the form's recordsource, it is changing one of the form's properties. The normal save actions on the form apply to your data only. I think you can do something like: DoCmd.Save acForm But, if use this technique in versions of Access > A97 then you will run into problems...
  11. WayneRyan

    Replace Function Parameters

    rj, The Replace function only takes strings as arguments. You will have to iterate through each of the fields and pass their values to the Replace function. Also, you will have to interate through each record in the table. Wayne
  12. WayneRyan

    Retaining format in text copied from Word to Access

    Maturi, Access is not a word-processor. You can store/display text with carriage returns in it. For bold text, you could do some tricks with VBA, or queries, but in the long run its probably not worth it. As for the Tabs, Access does not have a means of dealing with this (as far as I know)...
  13. WayneRyan

    Message Box Containing Primary Key

    Paul: MsgBox("New Record Added - Number " & Me.CustomerID) Wayne
  14. WayneRyan

    "really" advanced search form

    Hans, Make your form so that it is a traditional bound for and also has your two "unbound" controls: srchPerson and srchPostal. Make the default value for your controls "*" (with the quotes). Then base the form on a query, and obviously, doesn't reference your two...
  15. WayneRyan

    Adding random numbers

    Medic, Private Sub Form_Load()] Dim x as Integer Dim y as Integer x=Int((10-0+1)*Rnd+0) y=Int((10-0+1)*Rnd+0) firstnum.value=x secondnum.value=y End Sub Private Sub sumnum_LostFocus() If sumnum.value = (Me.firstnum + Me.secondnum) Then MsgBox ("Good job") Else MsgBox...
  16. WayneRyan

    Any Mathmeticians??

    Lonnie, If there were a static number of candidates, it would be very simple to make a set of nested loops where each loop index ranges from 0 to 1 and is multiplied by the corresponding element. It would not matter if there were 5, 10 or whatever. It is just a more deeply nested loop. For...
  17. WayneRyan

    Write text file without skipping a line between records

    alexisb, i = 0 Open &quot;myfile.txt&quot; For Output As #1 Do While i <> 3 i = i + 1 Print #1, i & &quot;,&quot;; Loop Print #1, &quot;&quot; Close #1 Wayne
  18. WayneRyan

    Using Trim function in Excel

    mj, After you trimmed the local variable, you never &quot;updated&quot; the Excel cell. Wayne
  19. WayneRyan

    Recordset is not pulling specific records to update

    DYM, With the db1.Execute, you don't need the recordset. You do need the Where clause, but the recordset isn't used. Wayne
  20. WayneRyan

    Using Recordest Clone to find duplicate primary key

    Har, No, that is my mistake. It should be If Not IsNull(). Just a typo. Wayne

Part and Inventory Search

Back
Top