Hi,
I found some material about this topic but it all refered to vb6.
I have a table which contains names of the forms in my system. After getting the form name out of the table, i want to set the "AllowEdits " property of that form to false, but for that i need to convert the string which contains the form name into a Form object, at least so i think.. here is a piece of my code:
strFormName holds the form name, but what should i do in order for the last line (in bold) to work?
Thanks in advance
I found some material about this topic but it all refered to vb6.
I have a table which contains names of the forms in my system. After getting the form name out of the table, i want to set the "AllowEdits " property of that form to false, but for that i need to convert the string which contains the form name into a Form object, at least so i think.. here is a piece of my code:
Code:
Do While Not rs.EOF
Select Case rs("formNum")
Case 1:
rsForms.FindFirst ("formNum = ") & rs("formNum")
If rsForms.NoMatch = False Then
strFormName = rsForms("formEnglishName")
[B]strFormName.AllowEdits = False[/B]
....
Thanks in advance
Comment