J
janiotjoeawie via AccessMonster.com
In order to make an output script I need to read the field names from my
recordset. The field names are known but I need it to write a flexible script.
I've wrote the following:
Dim rs As dao.Recordset
Set rs = CurrentDb.OpenRecordset("Update_relations")
Open "C:\Documents and Settings\Desktop\TEXTFILE.TXT" For Output As #1
What I'm now lookig for is something like rs.field(0).name (but this is not
working)
Anybody any ideas.
Regards
recordset. The field names are known but I need it to write a flexible script.
I've wrote the following:
Dim rs As dao.Recordset
Set rs = CurrentDb.OpenRecordset("Update_relations")
Open "C:\Documents and Settings\Desktop\TEXTFILE.TXT" For Output As #1
What I'm now lookig for is something like rs.field(0).name (but this is not
working)
Anybody any ideas.
Regards