Search results

  1. sfreeman@co.mer

    Puzzling code -

    In trying to assist another member, I created a simple setup. tblValues has one field named 'Value', which holds 3 random text records, each containing one or more strings separated by a comma and a space. Value 434534 3454534, 7888, 44fxcew, eqeew ewrqw, 5643, art4345, 32af The Function...
  2. sfreeman@co.mer

    Info in a form will not print!

    Not sure if this will help, but does your form have its 'LayoutForPrint' property set to Yes? BTW, forms are not really designed for printing. Consider a report instead. HTH
  3. sfreeman@co.mer

    Dir() command, scanning & addding file name to table

    Like this? Take a look... http://www.accessmonster.com/Uwe/Forum.aspx/access-externaldata/1980/Import-of-file-names
  4. sfreeman@co.mer

    passing string variable into criterion

    Not very elegant, but this works. Forget the function... SELECT tblSearchVal.SearchVal FROM tblSearchVal WHERE (((tblSearchVal.SearchVal)=IIf([Forms]![frmOverall]![optOrdrEB],0))) OR (((tblSearchVal.SearchVal)=IIf([Forms]![frmOverall]![optOrdrEB],1))) OR...
  5. sfreeman@co.mer

    How to evaluate only one place in a string.

    Fairly simple: Assuming a table called tblCodes, with a StudentID field and a Code field. Here is the query: SELECT tblCodes.StudentID , tblCodes.Code , Location(Left([Code],1)) AS One , Location(Mid([Code],2,1)) AS Two , Location(Mid([Code],3,1)) AS Three , Location(Mid([Code],4,1)) AS...
  6. sfreeman@co.mer

    Reporting number of records ADDED and UPDATED

    Not sure what exactly you want to accomplish, except to speed it up. You are running two queries that we do not see so they may be the problem. You need to declare your variables, strAdded and strUpdated [suggest you change them from string vars to int]. Suggested changes [but do not see much...
  7. sfreeman@co.mer

    Annjoying problem

    What do you mean you've removed all the "V"s???
  8. sfreeman@co.mer

    access a "password"-ed DataBase by form in other mdb file

    When you setup the linked table you were prompted for a password, and it must be the correct password, or else the lnmik will not be created. You should not be promted again for a password after the tables have been properly linked.
  9. sfreeman@co.mer

    Update Table With Query Value Using VBA

    Let me get this right... you have a query that generates the value you need to be appended to a table? If so, just create a second append query, that queries your original query for the value you need. In VBA, you could use the DLookup function to get the same value.
  10. sfreeman@co.mer

    Adding Minutes and Seconds in Access

    Try this... Assuming a table [tblCellTime] with an Employee ID [EmpID], and a cell time field [CellTime]... and that field [CellTime] is always in the format of (m)mm:ss use a query to get your totals... SELECT tblCellTime.EmpID , Sum(Left([CellTime],Len([CellTime])-3)) AS [Min] ...
  11. sfreeman@co.mer

    Prompt for report problem

    Why Why do you open the query first? Just open the report.
  12. sfreeman@co.mer

    access a "password"-ed DataBase by form in other mdb file

    link 'em. You will be prompted for the password.
  13. sfreeman@co.mer

    Nz result is not as expected

    Apparently, you have the values formated/typed as text. Try: SELECT Val([ATT1])+Val([ATT2])+Val([ATT3])+Val([ATT4]) AS ATTT FROM tblATT; :cool:
  14. sfreeman@co.mer

    Zipping database

    Sounds like a reference problem. Try checking the reference to DAO 3.6 object library. ;)
  15. sfreeman@co.mer

    Price for Database

    Suggestion: Do NOT sell it. License it to them [non-exclusive]. Why? What if [not likely, but, what if?] there is a real market for your db? Your employer would then be able to market it to the world and cash in. Take a look: http://www.greatideagear.com/software.dev.legal.gd.html
  16. sfreeman@co.mer

    Access???

    Yep. But I don't think that scenario requires a history or transaction table. Just reassign the number if you don't care who had it previously.
  17. sfreeman@co.mer

    Acess to sql server - Help....

    I do not believe SQL Server recognizes data collected from a form that resides in Access. Work around by figuring out a way [new query maybe] to provide the same data without referencing the form. The last two issues: Not sure you have a problem since it did create a stored proc for you...
  18. sfreeman@co.mer

    Access???

    Well, without knowing more, yes, that sounds right. Unless, of course, you need to maintain any sort of history or record of transactions.
  19. sfreeman@co.mer

    pictures to go with the database

    Take a look here: http://support.microsoft.com/?id=148463 :cool:
  20. sfreeman@co.mer

    Access???

    If you just need to track a few fields of data, and all fields are in a one-to-one relatiosnhip, then one table would likely do it. If, however, you have one employee with many employee numbers, then setting a a proper table relatiosnhip would be more appropriate. HTH
Back
Top Bottom