Search results

  1. D

    Subform Which view

    Guys, What is the best way to display all the records in the subform with the scrollbar if they don't fit in the subform. WHn I am saying records then it means Just Questions column values from the query and then Yes,No N/A radio buttons with all the Questions and Notes section too . Which...
  2. D

    Subform Which view

    Hi All I have a subform and I want to display all the records from a query in the subform so that the users can see all the records and make changes in that. SO the subform will display the Question names and there will be 3 radio buttons for score and the score needs to be updated. The...
  3. D

    Using 2 recordsets in VBA

    Hi All I am writing the following code in the listbox double click event so that when the index is 1 then insert data in a table from another table. So I am using two recordsets but Its not saving data in a table. Private Sub lstTabPages_DblClick(Cancel As Integer) Dim i As Integer Dim rs...
  4. D

    Find StartDate and EndDAte based upon Current year

    Thanks , it worked great.
  5. D

    Find StartDate and EndDAte based upon Current year

    I want to define criteria in a sql string like Date >= StartDate and Date<=EndDate. The StartDate will always be 01/01/current year The EndDate will always be 31/12/current year How can I find StartDate and EndDate using vba? Any help will be much appreciated. Thanks
  6. D

    Purpose of Sum(1)

    SELECT tblstaff.[Staff Name], Sum(1) AS Expr2 FROM (tblstaff INNER JOIN tblAction ON tblstaff.[Staff Number] = tblAction.Owner) INNER JOIN tblActionChange ON tblAction.ActionID = tblActionChange.ActionID GROUP BY tblstaff.[Staff Name], IIf([DateChanged]>=#4/1/2016# And [DateChanged]=#4/1/2016#...
  7. D

    Chart on the form

    Hi All How can I display Total on the top of each bar? Please see attached . Thanks
  8. D

    Purpose of Sum(1)

    please see attached.
  9. D

    Purpose of Sum(1)

    Re: Pupose of Sum(1) arnelgp, please See attached the other screenshot. What is Sum(1) doing in this? As there are 3 tables in total and in Sum(1) , table name is not mentioned so which table it refers too? Thanks
  10. D

    Purpose of Sum(1)

    Pupose of Sum(1) Can anyone please let me know the purpose of Sum(1) in the attached screenshot? Thanks
  11. D

    Purpose of Sum(1)

    please see the screenshot attached. Just wanted to know what is the purpose of Sum(1) in query design? Thanks
  12. D

    Display the total on the top of each bar in chart on the forms

    Can anyone please help me in this? Thanks
  13. D

    Autonumber ID field should have numbers in serial order even if I delete a record.

    Thanks Guys for all your help. Very much appreciated.
  14. D

    Autonumber ID field should have numbers in serial order even if I delete a record.

    I have Id field in the table whose data type is set to autonumber. The problem I am getting is suppose the last record added in the table has id=100 . If I delete this record then the new record will have id=101 but in actual I want Id=100 so it should be in serial order . I want the code...
  15. D

    runtime error 2118

    The only problem I am getting is to Refresh listbox on MainForm from the Editform(which is on the top of MainForm)
  16. D

    runtime error 2118

    JHB, because of security restrictions in the company, I am not able to send database attachment.
  17. D

    runtime error 2118

    Also In the form "Frm_Function_T", the listbox "lstDue" has a rowsource property which is set to as follows: SELECT tbl_Mas_DocLog.DocCode, tbl_Mas_DocLog.DocName AS Name, tbl_Mas_DocLog.Date_Expired AS Review FROM tbl_Mas_DocLog WHERE (((tbl_Mas_DocLog.Date_Expired)<Date()) AND...
  18. D

    runtime error 2118

    I changed that line to the following and not getting any error now but it doesn't refresh the listbox named "lstDue" Forms("frm_Function_T").Controls("lstDue").Requery
  19. D

    runtime error 2118

    ANy idea anyone why I am getting error message in that line?
  20. D

    runtime error 2118

    The following line produces error: Forms!frm_Function_T!lstDue.Requery
Back
Top Bottom