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 Chriss Miller 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 avayaman

  1. avayaman

    getting error 3075 on one PC only (Function is not available in expressions in query expression

    compiling hangs on this line for example Me.lblWarning.Visible = True Paul Beddows Consulting, Avaya/EAS implementation, Training Vancouver, Canada E-mail paul at natcoa.com
  2. avayaman

    getting error 3075 on one PC only (Function is not available in expressions in query expression

    yes I suspect missing references from looking at another thread. The project does not compile properly, but it has been in use for a long time so i am not quite sure that to do about that. It gets hung up on quite a few lines that appear OK on the surface Paul Beddows Consulting, Avaya/EAS...
  3. avayaman

    getting error 3075 on one PC only (Function is not available in expressions in query expression

    This is only happening on only one laptop, the program runs fine on every other one I have tried. Error message: Function is not available in expressions in query expression 'Duespaid>Date() AND status="In Default" This is the hunk of code it is hanging up on sql = "UPDATE tblAddies SET...
  4. avayaman

    How do I check if a query is empty

    Thanks everyone, the first set of code did the trick Paul Beddows Consulting, Avaya/EAS implementation, Training Vancouver, Canada E-mail paul at natcoa.com
  5. avayaman

    How do I check if a query is empty

    I am sure this is simple. I need VB code to check if the results of a query is empty or not. (In other words a report generated off it has no entries) Paul Beddows Consulting, Avaya/EAS implementation, Training Vancouver, Canada E-mail paul at natcoa.com
  6. avayaman

    NEED CODE TO POP UP MESSAGE BASED ON CRITERIA IN TABLES

    There are reports to show that. The database is very complex & highly automated. It even prints out member cards. It covers a lot of what-ifs. I was looking for a way to pop up a series of alerts when it starts up, to bring attention to tasks that need to be looked at. It uses an autoexec macro...
  7. avayaman

    NEED CODE TO POP UP MESSAGE BASED ON CRITERIA IN TABLES

    Probably not a big issue, there are never more than 20 entries in question in any of those fields. Paul Beddows Consulting, Avaya/EAS implementation, Training Vancouver, Canada E-mail paul at natcoa.com
  8. avayaman

    Need code to pop up a message based on data crieria

    Good news is the problem was solved. Thanks Paul Beddows Consulting, Avaya/EAS implementation, Training Vancouver, Canada E-mail paul at natcoa.com
  9. avayaman

    NEED CODE TO POP UP MESSAGE BASED ON CRITERIA IN TABLES

    I actually did it using dcount Dim abc Dim efg efg = 0 abc = 0 abc = DCount("[payrecord]", "autoexec1", "[payrecord] < Now - 120") If abc <> 0 Then GoTo line1 GoTo line2 line1: If msgbox("THERE ARE ALERTS. View Now?", vbYesNo, "ALERT") = vbYes Then efg = 1 msgbox "ALERT !! There are...
  10. avayaman

    NEED CODE TO POP UP MESSAGE BASED ON CRITERIA IN TABLES

    Ok I got it working using a DSUM expression Paul Beddows Consulting, Avaya/EAS implementation, Training Vancouver, Canada E-mail paul at natcoa.com
  11. avayaman

    NEED CODE TO POP UP MESSAGE BASED ON CRITERIA IN TABLES

    Soory that shoudl be Private Sub Report_Open(Cancel As Integer) Dim varX As Variant varX = DLookup("[payrecord]", "temptest", "[payrecord] < Now - 20") If varX > 0 Then GoTo line2 line1: msgbox "Bleep" line2: End Sub Paul Beddows Consulting, Avaya/EAS implementation, Training Vancouver...
  12. avayaman

    NEED CODE TO POP UP MESSAGE BASED ON CRITERIA IN TABLES

    That is what I am doing, but i don't want the form to display, just an alert. I suspect the dLookup function is what I need to play with. I created a query temptest to separate the records in question. I have been playing with this, but its wrong Private Sub Report_Open(Cancel As Integer) Dim...
  13. avayaman

    NEED CODE TO POP UP MESSAGE BASED ON CRITERIA IN TABLES

    I apologize for the double post I accidentally posted this in the wrong section. Here is the situation, I have a database of records. One field is a date field containing the date the record was last changed or established. There is another field of drop down choices. What I want to do is...
  14. avayaman

    Need code to pop up a message based on data crieria

    OK I think I led everyone astray. by posting in the wrong section. This is a MS Access 2003 database, not a mysql database. Paul Beddows Consulting, Avaya/EAS implementation, Training Vancouver, Canada E-mail paul at natcoa.com
  15. avayaman

    Need code to pop up a message based on data crieria

    Here is the situation, I have a database of records. One field is a date field containing the date the record was last changed or established. There is another field of drop down choices. What I want to do is run a query on the database such that if the date is 120 days past the date entered...

Part and Inventory Search

Back
Top