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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Presterman

  1. Presterman

    Getting date values

    Just adding it on works: ((TEST1.DATE_VALUE =#4/21/2005# +3));
  2. Presterman

    InStr function?

    Hi, Try this: FulllName: Right([Name],(Len([Name])-InStr([Name],","))) & " " & Left([Name],(InStr(1,[Name],",")-1))
  3. Presterman

    matching the contents of files?

    If I was using Access the first thing I would do is to loop through all of your text files and collect the data into one file each record of which would perhaps look something like this: station3, Adobe Acrobat 5.0 station 3, Ahead Nero OEM station 4, Whatever Etc.. Make sure that there is a...
  4. Presterman

    matching the contents of files?

    Hi, Don't know if this will be any help at all, but I use an Access database as a backend to my Perl. Large amounts of data like this are simpler to manipulate and examine in a database like Access. I can give you some code that will show you how to do this, if you like. If you just want to...
  5. Presterman

    Selecting Part of a field when it's a date/time with BOTH data types

    Try the DatePart() Function Dim TheDate As Date Dim Msg TheDate = InputBox("Enter a date:") Msg = "Hour: " & DatePart("h", TheDate) MsgBox Msg
  6. Presterman

    .seek method and bookmarks

    Hi, As a bookmark is a binary string, it is quite possible it may appear as a square box symbol. Binary strings can contain non-printable characters. I am still wondering why you are writing a bookmark to a table? It seems to me you are trying to uniquely identify a record to lock. You could...
  7. Presterman

    .seek method and bookmarks

    Hi, I don't know why you are saving a bookmark to a table. To quote from Access Help. 'Bookmarks are not saved with the records they represent and are only valid while the form is open. They are re-created by Microsoft Access each time a bound form is opened.' Bookmarks are really just...
  8. Presterman

    Connecting to SQL Server DB through Access form

    I think you can cache password and id information locally when you connect through a wizard. Otherwise, you can set the connection properties programatically when the form loads. Here's a microsoft link which gives some information on this area...
  9. Presterman

    Creating a query & report showing # of fields completed per Catagory

    I don't know if this will answer your question but... Make the source of your report a query which groups and counts your data. Use the totals button in the query design form.
  10. Presterman

    Output To Excel File

    You could use a randomly generated number..but the date/datetime solution is a standard one...
  11. Presterman

    How to choose two items from a dropdown list & search

    An idea: Have a list box where users can make multiple choices. This is not possible with a combo box (as far as I can remember). This is the best solution to this problem, I think.
  12. Presterman

    Word Automation - Insert picture and change size?

    The code you have should return a reference to a Shape object that represents the picture. Adjust the width of the Shape object (Shape.Width=x). This should give you what you want.
  13. Presterman

    Multiple-step ole db operation generated errors

    Hi, This probably has nothing to do with the registry. The code looks O.K. but check if txt_activity_id has a string value in it and that the length of the string that you are trying to input is not longer than the max length for the field you are trying to update. What sort of error...

Part and Inventory Search

Back
Top