Search results

  1. arnelgp

    ODBC-MS Access Connection Call Failed Error 3146

    Here is what ChatGPT has to say" Private Sub Form_Load() Const conChunkSize = 4 Dim lngOffset As Long Dim lngTotalSize As Long Dim chunk() As Byte Dim i As Long Dim rawData As Variant Dim data As Variant Dim rslt As String, j As Long ReDim...
  2. arnelgp

    My query lists 108 current members, but a form based on it lists all 400 members. Why?

    you can't have same name on Table and Query.
  3. arnelgp

    My query lists 108 current members, but a form based on it lists all 400 members. Why?

    create new form. click on the query on Navigation pane, and choose to make new form out of it.
  4. arnelgp

    ODBC-MS Access Connection Call Failed Error 3146

    or you can try ADO.Connection/Recordset
  5. arnelgp

    ODBC-MS Access Connection Call Failed Error 3146

    how many records does rs holds when you open the recordset? only 1? after this line: Set rs = db.OpenRecordset("Select RawData, LineResolution From VibSpectra Where SpectraKey = ...) insert this line to save the Rawdata to a file (RawData.bin) chunk = rs("RawData") ' arnelgp Dim fileNum%...
  6. arnelgp

    Click Farms

    chinese people here, disguising as call centers, bring those machines to our country for what? for spamming, texting that you won on some raffle, even use to intimidate people whom they lend money, to pay or else.. every week, authorities here catch them of their illegal activity.
  7. arnelgp

    ODBC-MS Access Connection Call Failed Error 3146

    What does the Long Binary Data holds, image, pdf, what?
  8. arnelgp

    How to register library/reference from vba code?

    add to Attachment your COM library. add also a command file (Register.cmd): @ECHO OFF reg Query "HKLM\Hardware\Description\System\CentralProcessor\0" | find /i "x86" > NUL && set OS=32BIT || set OS=64BIT "%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\regasm.exe" /unregister...
  9. arnelgp

    How to register library/reference from vba code?

    you need these steps. 1. copy the MySockectConnector.dll to an Attachment field 2. on opening the db, check if the Library is already registered if already registered, exit the sub/function. 3. if not registered, copy it from Attachment content to any folder (or temp folder) 4. using an Elevated...
  10. arnelgp

    How to register library/reference from vba code?

    you can Save all Reference to a Table (including the GUID). when you copy and Open the new db, there will be a startup code. to AddReference by GUID. ' Export all reference information to a table Public Sub ExportReferencesToTable() Dim db As DAO.Database Dim rs As DAO.Recordset...
  11. arnelgp

    After selecting a Symbol, the Name Field is not being populated.

    i change the combo to also show the Stock_Name when it dropdown.
  12. arnelgp

    After selecting a Symbol, the Name Field is not being populated.

    create a query from investment table and remove unnecessary fields in brokerage table.
  13. arnelgp

    Matching vba recordset to form recordset

    as suggested, put this code in subform ItemDetail: Public Sub AddItem(ID As Long, strITPath As String) Dim rst As DAO.Recordset Dim strCriteria As String Dim lngDocNo As Integer strCriteria = "flocID = " & ID Set rst = Me.RecordsetClone...
  14. arnelgp

    Matching vba recordset to form recordset

    maybe change it to like this: Public Sub AddItem(ID As Long, strITPath As String) Dim rst As DAO.Recordset Dim strCriteria As String Dim lngDocNo As Integer strCriteria = "flocID = " & ID Set rst =...
  15. arnelgp

    Error 3828 when creating a CSV from a query

    this will handle your Parameter, change the code to this one: '============================================= ' Export Table or Query to CSV using raw file I/O '============================================= Public Sub ExportToCSVRaw(ByVal SourceName As String, Optional ByVal OutputPath As...
  16. arnelgp

    Error 3828 when creating a CSV from a query

    can you try manual export using VBA: '============================================= ' Export Table or Query to CSV using raw file I/O '============================================= Public Sub ExportToCSVRaw(ByVal SourceName As String, Optional ByVal OutputPath As String = "") ' SourceName...
  17. arnelgp

    Recordset field not readable after update

    concur, you need to go to the Bookmark (Lastmodified record). ... ... rs.Update rs,BookMark = rs.LastModified InserisciRecordPrincipale = rs("ID_FERICEVUTE")
  18. arnelgp

    Access subform - Current event does not fire on first record selected

    maybe you can find what you need to accomplished on the sample database. Open MainForm form.
  19. arnelgp

    Solved In MS Access if the VBA code is taking longer than required how do we force the code to next

    With Request .Open "POST", stUrl, False .setRequestHeader "Content-Type", "application/json" .setTimeouts 5000, 5000, 5000, 5000 ' connect, send, receive, resolve .Send requestBody If .Status = 200 Then Response = .ResponseText...
  20. arnelgp

    Allowedits = true interfering with duplicate macro button

    maybe use VBA, to clearly see what you are doing: ' duplicate record Private Sub cmdDuplicate_Click() Dim bolPrevState As Boolean If Me.NewRecord Then ' exit if on new record Exit Sub End If ' save prevous state of allowEdits bolPrevState = Me.AllowEdits...
Back
Top Bottom