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 Gojira999

  1. Gojira999

    Message Box Powered By A Query?

    We are getting there! Still an error, but this time: Run-time error '3061': Too few parameters. Expected 1.
  2. Gojira999

    Message Box Powered By A Query?

    Thanks Ken. I have posted the following code; Private Sub Command53_Click() Dim strMessage As String Dim Rs As DAO.Recordset Set Rs = CurrentDb().QueryDef("ClaimDuplicateQry").OpenRecordset If Rs.RecordCount < 1 Then strMessage = "Not Previously Audited" Else strMessage = "Previously...
  3. Gojira999

    Message Box Powered By A Query?

    Sorry, still a bit (actually, very) green on vb! How do I define Dim's? .QueryDef is highlighted.
  4. Gojira999

    Message Box Powered By A Query?

    Thanks for the reply. I have now successfully attached the code, but have been presented with the following: Compile Error: Method or Data member not found I am running the database on Access 97 - might that be the problem?
  5. Gojira999

    Message Box Powered By A Query?

    Thanks for the reply. I have entered the snippet as follows: Private Sub Command53_Click() Dim strMessage As String Set Rs = CurrentDb().QueryDef("ClaimDuplicateQry").OpenRecordset If Rs.RecordCount < 1 Then strMessage = "Not Previously Audited" Else strMessage = "Previously Audited" End...
  6. Gojira999

    Message Box Powered By A Query?

    I have built an audit database using MS Access where users enter various items of data & a record is saved for review later. At the offset, the auditor enters the reference for the file being audited, and presses a "Check History" button. This runs a query against the audit table to check if...
  7. Gojira999

    Anything but zero

    Works a treat, thanks :).
  8. Gojira999

    Anything but zero

    I have written a query that extracts values from a form and returns a value to a table. What I want it to do is where the extracted value is greater than zero, to return a value of 1 to the table, else simply return a value of 0. I have tried using the following field criteria without success...
  9. Gojira999

    Numerical Combo Values

    How would I count the zeroes in a query (bit thick here sorry!)
  10. Gojira999

    Numerical Combo Values

    No. It is an audit database so it is primarily interested in what hasn't been done (the zeros). "Yes" and "n/a" signify either a tasks completion or it's irrelevance to the case in question. This allows me to add the number of questions, per sub catagory, and give a % score. EG: 10...
  11. Gojira999

    Numerical Combo Values

    I want the combo to provide a value to the table, not extract one.
  12. Gojira999

    Numerical Combo Values

    Normal to return the same value to the db, but I kinda wanted the combo to show them as different selections. Guess I may have to chalk it up as a "feature"! Thanks anyway :)
  13. Gojira999

    Numerical Combo Values

    Yep, they are both designed to give the same result.
  14. Gojira999

    Numerical Combo Values

    RowSource is 1;Yes;0;No;1;N/A BoundColumn is 1 ControlSource is blank
  15. Gojira999

    Numerical Combo Values

    Thanks. Unfortunateley, the combo is still misbehaving.

Part and Inventory Search

Back
Top