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

    Format function returns: Can't find project or library

    Wow Aivars that is some nice code. My problem is fixed - thanks all.
  2. preebs

    Format function returns: Can't find project or library

    I am developing an Access application that utilizes the "Format" function here and there in VBA code. The code works perfectly on my machine. When I load the database on my co-workers machine, it fails on every instance of the Format function - error: Can't find project or library...
  3. preebs

    Returning rs.recordcount when it's -1

    You can use the query method or still use the recordset method - your choice. To get an accurate record count from the recordset, use the .MoveLast method first. Then the recordcount property will be accurate.
  4. preebs

    How can I export number from 10 to 10.00 in text file.

    I don't know of a way to do this directly from the table. Maybe someone else has already figured this out and can help. Exporting directly from tables is a lot less flexible than working in queries. I tried messing around a lot with the table field formats with no success before I moved to...
  5. preebs

    How can I export number from 10 to 10.00 in text file.

    Are you exporting from a query window? Here is a sample statement I use a lot: Current Rate: Format([cur_rate],"0.000") This exports the field with three decimal places. Use "0.00" for two decimal places. I hope this helps.
  6. preebs

    dots and bangs

    PS - when you are calling the field from a variable, don't use any dots or bangs. Let me know if you'd like to see a code sample of how this works.
  7. preebs

    dots and bangs

    I had a few messy problems with this in the past. Try passing "FldName" as a field, not a string: ...FldName as Field I hope this helps.

Part and Inventory Search

Back
Top