I know one way of writing to a .dat and one way back. But I am looking for a quicker and more efficient way of doing so.
txtdj_last_name.text = djs.dj_lname
txtdj_first_name.Text = djs.dj_fname
txtdj_house_number.Text = djs.dj_hnum
This is the way I would have done it before but I'm trying to find a quicker way. Not sure if there is one. So far I think that you might be able to from this :
For Each ctl In Me.Controls
If ctl.ControlType = acTextBox Then
ctl.value = djs.???
End If
Next
Where the ??? is I dont know what to put it. djs. is where the files are.
Any idea of a way like this or another way.
I'm a sixth form student doing this btw.