Recent content by arnelgp

  1. arnelgp

    Setting Recordsource when there are two or more forms open

    just test if frmActivitiesEdit is open:\ If CurrentProject.AllForms("frmActivitiesEdit").IsLoaded = False Then DoCmd.OpenForm "frmActivitiesEdit" End If Forms!frmActivitiesEdit.RecordSource = "Select * from qryActivitiesEdit Where ActionID = " & Me.txtActionID
  2. arnelgp

    Solved Display Image Conditionally

    use your Control not the fields in your table: Private Sub GroupHeader1_Format(Cancel As Integer, FormatCount As Integer) Me.Lvl1Img.Visible = Me.Lvl1Chk Me.Lvl2Img.Visible = Me.Lvl2Chk Me.Lvl3Img.Visible = Me.Lvl3Chk End Sub
  3. arnelgp

    SUBFORM CONTROLS

    you may try this on the subform's Current Event: Private Sub Form_Current() Dim bolVisible As Boolean With Me bolVisible = (.Recordset.RecordCount > 1) !FirstRecord.Visible = bolVisible !NextRecord.Visible = bolVisible !PrevousRecord.Visible = bolVisible !LastRecord.Visible...
  4. arnelgp

    The_Doc_Man has become upgraded to Super Moderator

    don't forget the blowout..
  5. arnelgp

    Ban's for doxing (or similar)

    means a woman/girl/transgender. maybe attributed by Elvis Costello: She may be the face I can't forget A trace of pleasure or regret May be my treasure or the price I have to pay She may be the song that summer sings May be the chill that autumn brings May be a hundred different things Within...
  6. arnelgp

    Solved HELP WITH VBA ON SUBFORM

    then you already have Duplicate JR_ID on JR_TrClassesT table. what the code is doing is adding (if it does not already exists on JR_TrClassesT) the 12 records you are looking for. next it uses an INNER JOIN (meaning only those 12 JR_ID should be included). but you said more than 12 are being...
  7. arnelgp

    Ban's for doxing (or similar)

    who is mr.B? i hope not the Mr.B with the Teddy bear.
  8. arnelgp

    The_Doc_Man has become upgraded to Super Moderator

    will that mean we will see more of the "when i was in the navy.." thing? :LOL:
  9. arnelgp

    Solved HELP WITH VBA ON SUBFORM

    modify your code like this: Private Sub TrnType_AfterUpdate() Dim strSQL As String, frm As Form, subfrm As Form 'insert records to JR_TrClassesT table strSQL = "INSERT INTO JR_TrClassesT (JR_ID, TrnCnt) " & _ "SELECT Personnel.AFD_ID, 0 FROM Personnel " & _...
  10. arnelgp

    Another demo of JSON Recordset (mimic the behavior of DAO.Recordset)

    here's what AI has to say: No, JSON is not unstructured data; it is considered semi-structured data because it has an internal organizing principle (key-value pairs) but lacks the rigid, pre-defined schema of a traditional relational database. It is more organized than unstructured data, which...
  11. arnelgp

    Uncle Gizmo has also left the building

    Bye-bye Uncle G! "hope you have a lot of good friends out there.."
  12. arnelgp

    Another demo of JSON Recordset (mimic the behavior of DAO.Recordset)

    the Ai keeps generating test code (for export to json) on employee table which i dont have, so i just copy xompany table and rename the copy as employee. New_employee table is created from test code to import back from a json string to New table, which I provide as new_Employees.
  13. arnelgp

    Solved Update recordset skipping the last record

    Me.Dirty = False, means to save all your changes to the db.
  14. arnelgp

    Solved Update recordset skipping the last record

    it you need to save the last chckbox, do this On Top of your code: Me.Dirty = False ' your code below
  15. arnelgp

    Import table to XML and export XML to table.

    another AI brilliance. create an xml Recordset-like class. see module TestModule for various test.
Back
Top Bottom