Recent content by arnelgp

  1. 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 =...
  2. 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).
  3. 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.
  4. arnelgp

    Access 2003 / 2007 Templates

    here is the db created from inventory template
  5. arnelgp

    Northwind Database VBA BusinessAddress Question

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

    text box showing record in Sub form

    you may also try the code on this.
  7. 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".
  8. arnelgp

    Form as Form? or String?

    or you can use: Set lst = Visiblelist(Me)
  9. 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()
  10. arnelgp

    Solved Sharpen a video?

    NCH Videopad->Video Effect->Sharpen. you can adjust, using the slider the amount of sharpness while the video is playing.
  11. arnelgp

    Solved Difficulty sorting an alphanumerical text field

    result based on what you want to accomplish in post #5: Expr1 (sort order) is being shown here, but you can hide it on the Query design.
  12. arnelgp

    Solved Difficulty sorting an alphanumerical text field

    created a user-defined function in module1 and use it in query1 (Exrp1) and Sort on this calculated column. see query1.
  13. arnelgp

    Solved List Box Sort

    this a Modified version of the db you uploaded. it Sorts on their respective Group only.
  14. arnelgp

    bad bracketing

    you may also try this: Function GetDateRange(DateField As String, RangeType As Integer) As String 'Last Month Dim firstmonth As Date Dim lastmonth As Date firstmonth = DateSerial(Year(Date), Month(Date), 0) lastmonth = DateSerial(Year(firstmonth), Month(firstmonth) - 12, 0) 'Quarterly...
  15. arnelgp

    Solved Query with multiple parameters not working

    try this also: SELECT GrantsT.GrantURN, GrantsT.OrganisationName, GrantsT.CountryID, GrantsT.Status, GrantsT.StatusDate, GrantsT.ProjectStart, GrantsT.ImpactDue, GrantsT.Received, GrantsT.ProjectCompleted, GrantsT.EndOfProjectVisit, [Received] -...
Back
Top Bottom