Search results

  1. arnelgp

    Overlay Controls

    you can house the "sign" and "txtDataEntryAssist" textboxes to a separate pop-up form (borderless) and just pop up the form when TheValue gotfocused/or got clicked. or you can assign special key to show the pop-up form. you might need Pavlo Pendan's clsControlLayout cls, to corectly place the...
  2. arnelgp

    VBA no prompt to save design changes

    you are right it is report. but Form.IsDirty is correct when you are editing the form in design view. Form.Dirty when you make change/add Record on the form.
  3. arnelgp

    VBA no prompt to save design changes

    on the External db's on the Form you are changing the design, add this on it's close event: Private Sub Form_Close() If Me.IsDirty Then If MsgBox("You have unsaved design changes. Close anyway?", _ vbExclamation + vbYesNo, _ "Unsaved Changes") =...
  4. arnelgp

    How to use an incremental sequence in a query (instead of an Autonumber)

    you don't save the Sequence in the table. you generate it on fly, using a Report or a Form. For form you can use Stephen Lebans code: ' Credit to Stephen Lebans for the function ' Public Function RowNum(frm As Form) As Variant On Error GoTo Err_RowNum 'Purpose: Numbering the rows on a...
  5. arnelgp

    Convert all the old check box controls on continuous forms to a modern style.

    here is another demo that still uses query. form frmQuery2 shows you multiple images in a record in a continuous form. the form uses basic query and minimal code to toggle the button image.
  6. arnelgp

    Fairly New and Need Help

    there is a sample customer service database template from microsoft. the attached is the accdb from that template.
  7. arnelgp

    Convert all the old check box controls on continuous forms to a modern style.

    as mentioned earlier this has been done before, without any need for a separate Class. it uses a subform (which is already a class). see post #7 sample db of the below thread: https://www.access-programmers.co.uk/forums/threads/modern-controls-on-off-switch.324510/ I also noticed that both the...
  8. arnelgp

    Solved Totalling grouped sub reports

    on each subreport, add an Unbound textbox, on the Report's Report Footer that will total the group: for sub-report1, name it txtSumSub1, for sub-report2, txtSumSub2: =Sum([TheFieldNameToSum]) then you can add an 2 unbound textbox to the main form to show those sub-totals...
  9. arnelgp

    Word MailMerge OpenDataSource - password protected ACCDE

    you create a CSV from the recordset of your table and use it as Datasource of your Mailmerge: Sub CreateCSVFromRecordset() Dim conn As Object Dim rs As Object Dim strDataSource As String Dim strPassword As String Dim strConnection As String Dim strSQL As String Dim...
  10. arnelgp

    Convert all the old check box controls on a form to a modern style.

    many has already done that before: https://www.access-programmers.co.uk/forums/threads/modern-controls-on-off-switch.324510/
  11. arnelgp

    Solved Count Records in Group Footer

    another suggestion. first create a query that will Group Consultant and DrawingNo: Select Consultant, DrawingNumber From YourTable Group By Consultant, DrawingNumber; name the query qryGrpConsultantDwg. Next use DCount on your Report as the ControlSource of your GroupTotal (on header)...
  12. arnelgp

    Running DAO sql on Excel data

    Let assume your ID column is in Column A, Date in column B, Type in column C and Done In Column D without using DAO.Recordset: Sub UpdateDoneColumnOnSheet1() Dim ws As Worksheet Dim lastRow As Long Dim rng As Range Set ws = ThisWorkbook.Sheets("Sheet1") lastRow =...
  13. arnelgp

    Could you please help me create an update query in MS Access

    as advised by the others, you do not need to save the period_month, period_year, accounting_month and accounting_year to the table. you use query to show them (see qryInvestTrans2 query).
  14. arnelgp

    A form allowing password login plus "forgot password" facility

    here is a simple db that employs Login form. username/password: common => will have limited access on the db. username/password: arnel/nozup => admin account, have unlimited access and can set/assign user and user-right to the system.
  15. arnelgp

    Access 2003 / 2007 Templates

    here is the db created from inventory template
  16. arnelgp

    Northwind Database VBA BusinessAddress Question

    check the query (qryCompanyList) in Design view of the query if this is the recordsource of the form.
  17. arnelgp

    text box showing record in Sub form

    you may also try the code on this.
  18. arnelgp

    ACCDE - "Requested type library or wizard is not a VBA project"

    if you want to share the db so we can see what is the problem, you can convert your linked table to local table by right-clicking on them, and selecting "Convert To Local Table".
  19. arnelgp

    Form as Form? or String?

    or you can use: Set lst = Visiblelist(Me)
  20. arnelgp

    Form as Form? or String?

    you can simplify it: Public Function VisibleList(frm As Form) As ListBox Set VisibleList = frm.lstTrans If frm.lstName.Visible = True Then Set VisibleList = frm.lstName End If End Function on your code: Dim lst as listbox set lst = VisibleList()
Back
Top Bottom