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 Mike Lewis 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: *

  • Users: Sydney1
  • Order by date
  1. Sydney1

    Hep with Trigger That Updates Multi-Rows

    Otto, It works great. Thanks a bunch, I really appreciate your help. Sydney
  2. Sydney1

    Hep with Trigger That Updates Multi-Rows

    Good Morning, I've been attempting to create a trigger that updates multi rows based upon the date criteria of what was entered into the the inserted table. Even after reviewing other examples on this site of triggers (some used the inserted and deleted tables joined together), I haven't been...
  3. Sydney1

    Issue with using a variable with DCount

    MP9, That worked great. Thanks so much for your help. Sydney
  4. Sydney1

    Issue with using a variable with DCount

    Good morning, I am attempting to filter a form on the open event using the DCount of the underlying query when it matches a certain criteria. I 've created a variable "Days" (integer) in the code that needs to equal a field in the query. I'm adding 1 to "Days" within a loop until a a...
  5. Sydney1

    Help with Coding a Pass Through Query that Accepts Inputs

    Pwise, Your updated line of code worked! As RoyVidar (and thank you too for your help) stated: It had to be delimited with Single quotes for SQL Server. Thanks so much your help. You've made my day. Sydney
  6. Sydney1

    Help with Coding a Pass Through Query that Accepts Inputs

    Pwise, Thanks for the quick response. I upated the line of code to include the space after the name of the stored procedure. And now have the following: Dim mydb As DAO.Database Set mydb = CurrentDb mydb.QueryDefs("qryCompanies").SQL = "sp_qryForeclosureReferralMain " &...
  7. Sydney1

    Help with Coding a Pass Through Query that Accepts Inputs

    Thanks for your help. I have the following code Dim mydb As DAO.Database Set mydb = CurrentDb mydb.QueryDefs("qryCompanies").SQL = "sp_qryForeclosureReferralMain" & Forms!frmReportMenu1!txtBeginDate & "," & Forms!frmReportMenu1!txtEndDate DoCmd.OpenQuery "qryCompanies" But am getting a...
  8. Sydney1

    Help with Coding a Pass Through Query that Accepts Inputs

    Good morning, I have a stored procedure in Sql Server 2000 that accepts 2 input parameters. It is linked to an Access 97 DB as a pass through query, which is named qryCompanies. I am attempting to call this query from a button on a form where the user will input the parameters in 2 text...
  9. Sydney1

    Convert Function Issue

    Thanks for the help.
  10. Sydney1

    Convert Function Issue

    Good morning, I'm attempting to create a 90 day bucket in SQL where it begins on the second day of the month and ends on the first day of the next month. So far I have the following code, which I transferred from Access and then adjusted for SQL Server, WHERE...
  11. Sydney1

    Suppress Error Message

    Thanks for the reply. I've tried to use error handling in several events on the subform, before insert, after insert, the form overall error event and the only event that appears to acknowledge the error is the before insert. But even after I trap the error in the before insert, I still get...
  12. Sydney1

    Suppress Error Message

    Good Morning, I have a subform that is linked to a combo box on the master form. I want to be able to add a new record to the subform before there is a corresponding entry in the linked combo box on the main form. I am receiving an error message when I enter the first character on the subform...
  13. Sydney1

    DCount Returning a Syntax Error

    Tom, That works like a charm! I still haven't grasped the single and double quotes that have to be used in text and combining fields. Someday I'll get it. Again, Thanks so much for your help. I really apreciate the time and effort you've taken to help me. Sydney
  14. Sydney1

    DCount Returning a Syntax Error

    Tom, Tried the code and am now getting a syntax error instead of the Expected expression error that I was receiving. Thanks, Sydney
  15. Sydney1

    DCount Returning a Syntax Error

    Yes. The error states "Compile error. Expected expression" on both of them. It did state syntax error on the way I had it before I submitted the code here. I then changed it to what I submitted here and got the above error right from the start. Thanks again for your help.
  16. Sydney1

    DCount Returning a Syntax Error

    Thanks for the reply and help. I added the apostrophe at the end after the "', but am still getting a syntax error. Again, thanks for your help. Sydney
  17. Sydney1

    DCount Returning a Syntax Error

    Hi, I'm trying to use dcount to see if the 2 fields combined are unique in a query. The user doesn't like the error message that is returned from SQL Server (Access frontend and SQL Server backend) using the unique index for the 2 fields. Both fields are char (text in Access) in Sql Server...
  18. Sydney1

    Money Field Always Having 2 Cents Spaces

    Using convert with the commas solved all my problems. Thanks so much for your help. Sydney
  19. Sydney1

    Money Field Always Having 2 Cents Spaces

    I ended up using cast(coulmnName as varchar(12)) as ColumnName. It returns 0.00. Thanks again for all your help. I really appreciate it. Sydney
  20. Sydney1

    Money Field Always Having 2 Cents Spaces

    Hi, I just noticed that when the origianl amount is 0 using this method it is converted to .00. Is there any way to make it 0.00? Thanks again for all your help. Sydney

Part and Inventory Search

Back
Top