AtomicChip
Programmer
Here's the problem:
I need to be able to update field names depending on user entry.
Example:
For Each Field in Recordset
If Recordset.Field.Name = text1.text Then
Recordset.Field.Name = text2.text
next
next Field
Problem is, of course, that the name property of a field is read-only. The other option is to create a new field, and update the information in the new field from the old field, and then delete the old field. I tried doing that, but every time I tried running it, I got a "Cannot create in context" error. Any ideas? Thanks in advance.
-----------------------------------------------
"The night sky over the planet Krikkit is the least interesting sight in the entire universe."
-Hitch Hiker's Guide To The Galaxy
I need to be able to update field names depending on user entry.
Example:
For Each Field in Recordset
If Recordset.Field.Name = text1.text Then
Recordset.Field.Name = text2.text
next
next Field
Problem is, of course, that the name property of a field is read-only. The other option is to create a new field, and update the information in the new field from the old field, and then delete the old field. I tried doing that, but every time I tried running it, I got a "Cannot create in context" error. Any ideas? Thanks in advance.
-----------------------------------------------
"The night sky over the planet Krikkit is the least interesting sight in the entire universe."
-Hitch Hiker's Guide To The Galaxy