Recent content by afnan_88

  1. A

    Q about subforms & dates

    American format
  2. A

    Q about subforms & dates

    vbaInet i try your code but it dosent work . but you inspire me to replace "!" by "." in my code and its working now =) --------------------------------------- Private Sub Ctl118_Positive_family_history_of_IBD_AfterUpdate() If Ctl118_Positive_family_history_of_IBD = 2 Then...
  3. A

    Q about subforms & dates

    this is my code this event is in the sub form and the control in the main form Private Sub Ctl118_Positive_family_history_of_IBD_AfterUpdate() If Ctl118_Positive_family_history_of_IBD = 2 Then Me.Parent!Ctl120_Type_of_IBD.Enabled = False Else Me.Parent!Ctl120_Type_of_IBD.Enabled = True End If...
  4. A

    Q about subforms & dates

    thank you but previously ,i try this one Me.Parent!ControlName but i get the same msg
  5. A

    Q about subforms & dates

    hello... i hope all of you fine =) ihave small q if i have a subform and i want to disable some controls in the mainform acording to the value of a control in the sub form >> how can i access the main form control ?? i try many lines in the after update events but i get a msg that the...
  6. A

    open a form of other table for editing

    ohhh , it was so silly ! thanq very very very much i didnt notice that
  7. A

    open a form of other table for editing

    hello all, i have a form that is not related to any table its act like a main screen so i can use it to add new records and edit for all the other forms in my code i have a button that goes to a form and open a new recored if no one existed .. if its exist open the form for edit text39 is were...
  8. A

    chosing the right event !

    sorry but am new to VB what is the diffrence bt. Nz() & trim () ?
  9. A

    chosing the right event !

    thanks Dcrake , boblarson , missingling for your discussions its working now .. i still have a small q i usually pass a value between two forms using the openArgs : and i receive it in the onLoad event of the 2ed form Dim i as string i = Me.OpenArgs after that i don't know how to assign...
  10. A

    chosing the right event !

    hello guys i wanna write a code for the following condition if the uesr keep txtboxA empty then txtboxB must equal 4 i tried this code in the afterupdate event <<i think its a wrong place :confused: If CtltxtboxA.Text = "" Then CtltxtboxB.Text= 4 end if ============= also this one...
  11. A

    Getting values from the table or other forms

    hi , i hope you're fine.. & i hope you can help me here is my small issue : i have many forms for one table in some forms i need the value of a control in other forms or i need the value from the table for the current record i want a value of some field called "family type" its type text...
  12. A

    changing width properties

    i can fix it now =) =) =) sorry for the Disturbance that i made, cuz i'm new to access forms extraaaaa thanx for you
  13. A

    changing width properties

    this is the two screens for the 2nd Q
  14. A

    changing width properties

    ooops really i'm sorry i notice it later.. i'll post them again
  15. A

    changing width properties

    extraaaa big thanx for ghudson =) waiting for an answer for the 2ed Qs
Back
Top Bottom