Recent content by voiD

  1. V

    Dynamic stored procedure call problem

    Hello, First of all, Merry Christmas to everybody! I've faced with a problem, what currently I can't solve. I want to call stored procedure from an other database with some input parameters and want to store the result of the stored procedure in a variable. All this I want to do dynamically...
  2. V

    Query Confusion

    Actually this query could be on top of your original query, but it could be on the table directly also. In this case, you should extend it with some conditions, as they are in your original query. The second case is better from point of view of performance.
  3. V

    Query Confusion

    Hi, If I understand you right, you want something like this SELECT LName, FName, IIf([Parameter:]="C1",[C1],IIf([Parameter:]="C2",[C2],[C3])) as Course FROM YourQuery; This query will display always 3 columns, in the Course column's content will depend on the value you enter into the...
  4. V

    Count based on date

    Since my last post, I realized one thing, regarding the query which provides the dates for the given years. When using it in other queries, sometimes the provided dates are not treated by Access as dates. That's why I modified it and with this the results are treated always as dates. The...
  5. V

    Count based on date

    Well, I found the problem, actually it was me. :-) In the query which provides the dates for the year, I included the current year and the following one. That's why in the result I have all the dates for the current year and the following one and when I summarized the numbers for months, every...
  6. V

    Count based on date

    What records do you mean? From the final result or from a sub-query?
  7. V

    Count based on date

    Hello, I'm stuck a bit with the following problem and hope somebody will have an idea which might help. So, I have a table about flats. In the fields of the table, among others, there is a date field which represents the starting date of the flat availability. I'd like to create a query which...
  8. V

    FormulaArray problem

    FormulaArray problem - alternative solution Hello again, Although, I couldn't point out what is the problem, I found an other solution, which provides the same result and the problem, I mentioned, doesn't appear with it. Below is an example with both way. Public Sub test() Dim rngAll As...
  9. V

    FormulaArray problem

    Thx for the reply! I've already read a lot of about problems with FormulaArray in VBA, and tried all the mentioned solutions and workarounds, but non of them was solution to my problem. My formula size doesn't exceed the 255 char limitation and as I've mentioned it is syntactically correct. The...
  10. V

    FormulaArray problem

    Hello, I want to assign formula to a cell's FormulaArray property via VBA code.The formula is correct, but when I try to make the assignment, I receive the error message, "Unable to set FormulaArray property of the range class". The formula is stored in a string variable. When execution of the...
  11. V

    User authentication

    Dear Experts, I have to create an application in MS Access with MS SQL backend where users can log in with their actual windows credentials, in order to trace each user's activity on the server. Additionally, at login, the program have to provide the possibility to log in with different...
  12. V

    Record count

    Hello, I am not exactly sure if it is the best place for my question, if not sorry! So, I have an MS SQL 2000 backend with Access 2003 frontend. Some forms' recordset is set in runtime by run a stored procedure on the backend and its result is the recordset. It works good and fast enough, my...
  13. V

    Dynamic class declaration

    Hm, you are right Banana, I scrambled the things a little bit. In my previuous post under module I've meant a part of the application and not a VBA module. There is only one .mdb file and depended on the user logged in, the assigned part of the appliction will be started, that's what I called...
  14. V

    Dynamic class declaration

    Well, I am developing an application for a productive plant. There are six modules used in the production, each module at different machine types. These modules used to collect data about the production, mainly filled by the machine operators, but some data are coming from external ERP system...
  15. V

    Dynamic class declaration

    My only problem with this solution is that, I don't want pass object to the function, only string. But in this case, only the select-case statement seems to me a solution and with a lot of custom classes it results a quite long code.
Back
Top Bottom