Search results

  1. khawar

    Pass Through Query

    Add forms! in start of the name of control like [forms]![DB2 FORM]!ORNO
  2. khawar

    Mark up rates

    Here is a quick sample for you
  3. khawar

    Mark up rates

    Not visible
  4. khawar

    Pass Through Query

    For example I have a pass through query named "LedgerQuery" I use a form to provide start and end dates for the report which is based on that query I use the below mentioned code for this CurrentDb.QueryDefs("LedgerQuery").SQL = "Select * from Table1 where LedgerDate between " &...
  5. khawar

    double ended bookeeping query mind bender

    You have to creat an extra field named voucher Number like you use in double entry accounting so your table will look like this ID |Voucher_Number | date | account | sum -------------------------------------------------- 0001 |0001 | 20-04-10 | wages | -50 0002 |0001...
  6. khawar

    Pass Through Query

    Your parameters will be on server side or you can change the sql of your query according to your parameters using vba
  7. khawar

    Mark up rates

    Can you provide detail of your tables
  8. khawar

    Find the Month from Week Number and Day of week

    Paste the function below in a module Function GetMonthfromDayofWeek(WkNum As Integer, DyOfWk As Integer, Yr As Integer) As Integer GetMonthfromDayofWeek = Month(CDate((DateSerial(Yr, 1, 1) + ((WkNum - 1) * 7)) + DyOfWk - Weekday(DateSerial(Yr, 1, 1)))) End Function and use like this in your...
  9. khawar

    Give query results a number

    you can do this very easily in the report creat a text box set its control source to =1 and set its running sum property to over group or over all
  10. khawar

    Showing a blank field if no data matches up

    While in query design view double click on the join between tables and select show all record from table 1 (this is your table name)
  11. khawar

    Where clause is not working

    can you post a screenshot of your query in design view
  12. khawar

    Where clause is not working

    What error is being displayed
  13. khawar

    Getting the validation property to work in a table

    You cannot do this through sql you have to use ado in vba moreover syntax of your check is not appropriate
  14. khawar

    Getting the validation property to work in a table

    You cannot view constraint you have to add or drop constraint in code using ADO You can refer to this thread where I have provided code to Add or Drop constrainsts and there is also some more useful information
  15. khawar

    Query Adding value from 2 different tables

    Where does this beginning balance come from and if A is repeated more than once then you want sum of all qty or want to show each individual item
  16. khawar

    Query bassed on criterion

    and what is the query that you have designed for different years
  17. khawar

    Query bassed on criterion

    If you tell some detail what is your table structure what is your data what are the logics and what are the results you want to acheive then I can be more specific
  18. khawar

    Query bassed on criterion

    First you have to loop through recordset to retrieve the year in which your required total is achieved then using that year you have to perform further action or run a specific query and instead of saving queries you can also build sql string dynamically to achieve what you want
  19. khawar

    Query bassed on criterion

    Yes possible but using coding in vba
  20. khawar

    summary resport on crosstab query limits to 20 fields

    I dont think there is any limitation can you upload the sample
Back
Top Bottom