hii guys
i have this save code i looking to open code of iut help soon please
that is it
---------------
Private Sub cmdSave_Click()
Dim frm As Form
Dim ctl As Control
Open "C:\DATAFROMFORMS.txt" For Output As #1
For Each frm In Forms
For Each ctl In frm.Controls
If TypeOf ctl Is TextBox Or TypeOf ctl Is Label Then
Print #1, frm.Name & ": " & ctl.Name & " - " & ctl
End If
Next
Next
Close #1
end sub
i have this save code i looking to open code of iut help soon please
that is it
---------------
Private Sub cmdSave_Click()
Dim frm As Form
Dim ctl As Control
Open "C:\DATAFROMFORMS.txt" For Output As #1
For Each frm In Forms
For Each ctl In frm.Controls
If TypeOf ctl Is TextBox Or TypeOf ctl Is Label Then
Print #1, frm.Name & ": " & ctl.Name & " - " & ctl
End If
Next
Next
Close #1
end sub