Search results

  1. Fear Naught

    PASS PARAMTERS FROM MS ACCESS 2003 to SQL SERVER

    Many thanks. That has worked. Another good link is: http://www.sqlservercentral.com/Forums/Topic657473-131-1.aspx where an example database is available.
  2. Fear Naught

    PASS PARAMTERS FROM MS ACCESS 2003 to SQL SERVER

    I have tried using this code but get an error when compiling the VBA on the ADODB.Command line. I have added a "reference" to "Microsoft ADO Ext 6.0 for DDL and Security" (the only ADO Reference I can find). What have I done wrong! Actually what I am trying to do is run a SQL Stored procedure...
  3. Fear Naught

    Help Creating a Stored Procedure in SQL

    The CONVERT function is a good point and I missed that in my earlier post!! I have made some changes to the bracketing used and have removed some in the code below. I'm not sure that you really need the BEGIN END block so have removed them. See how this goes: CREATE PROCEDURE...
  4. Fear Naught

    Help Creating a Stored Procedure in SQL

    You will need to add a FROM statement. Without understanding your database structure I would suggest something like this: CREATEPROCEDURE [AP_POT].[Update_ExpectedPaymentDate] -- Add the parameters for the stored procedure here AS BEGIN UPDATE AP_POT.prod_AP_Inv_POT SET...
  5. Fear Naught

    Do I really need Tables with SQL Backend

    How do you execute a Stored Procedure in a PTQ?
  6. Fear Naught

    Table Combo Box

    Well the feature you are talking about is an application form design feature and not a database feature. They are 2 totally seperate things and I wouldn't expect to see that functionality in SQL Server.
  7. Fear Naught

    Table Combo Box

    If I understand your question properly you are confusing the functionality of Access and SQL Server. Providing you have setup your SQL Server Database properly and linked the tables then a Combo Box will work the same.
  8. Fear Naught

    Report Builder (2.0)

    You would have to use an expression or a function. There isn't an option in the grouping of the report for "no data".
  9. Fear Naught

    Other users unable to open ODBC linked table in Access

    This seems to me to be a conflicting ODBC Connection. Ensure that all users have the same DSNs to the Sql Database on their PCs. I have had similar issues with Access databases that link to SQL Server. HTH
  10. Fear Naught

    Do I really need Tables with SQL Backend

    I have just experimented with Pass Through Queries (PTQ) for the first time as in the past I have always used linked tables. I can certainly see the benefit of PTQ as it seems to take the processing away from the local PC and Jet Engine. However what I can't work out is how to use them with...
  11. Fear Naught

    Fairly New to SQL and now trying a bit more complicated coding

    Are you doing this in SQL or Access? As your post is in the SQL Server Forum I am assuming it is SQL. T-SQL doesn't support the IIF() function and provides the CASE expression instead. See: http://msdn.microsoft.com/en-us/library/ms181765.aspx
  12. Fear Naught

    #NUM! error in Linked Excel Spreadsheet

    I think this is because the columns in the spreadsheet have a mix of data types (from your example). I believe that Access tries to determine the datatype of the columns in the linked spreadsheet and fails hence the error.
  13. Fear Naught

    Fixed Column Headings in a Pivot Table

    I have discovered how to show all the columns even when there is no data. It seems there is an option in "field settings". :)
  14. Fear Naught

    Fixed Column Headings in a Pivot Table

    I need to show the value of Sales Opportunities in a pivot table with Months as column headings and the Sales Managers names as rows. Where there is data in the underlying database (spreadsheet is linked to a SQL server database) then there is no problem. However if there is no data for a...
  15. Fear Naught

    Calculated Control on Subform Footer

    Great minds think alike. I have just done exactly that and it works a treat. Proves that this forum works. Thanks a lot.
  16. Fear Naught

    Calculated Control on Subform Footer

    Thanks Bob. I wondered if it was something like that. Unfortunately bcasue of the change in percentage of each entry I can't just do =Sum([Field1]/[Field2]). So some brain power need to look for a different option. Will post if I come up with a suitable solution.
  17. Fear Naught

    Calculated Control on Subform Footer

    Through a process of elimination I have discovered the following. The error only occurs when I have another control that calculates the sum of a calculates control on the subform. The subform contains 2 calculated controls: One calculates a percentage based a running total control on the...
  18. Fear Naught

    Calculated Control on Subform Footer

    Definitely the form footer.
  19. Fear Naught

    Calculated Control on Subform Footer

    I was just about to try that. No the control doesn't work when just openig the subform.
  20. Fear Naught

    Calculated Control on Subform Footer

    Added ot this I can't get anything to work in the footer. I have tried calculating other controls but to no avail. Maybe I have a corrupt form
Top Bottom