I have a Jet database with many Null values in it. I want to convert these to "".
In looking at it, I think the easiest way to do this would be to have a routine like the following, if it is possible:
For each table in database.[table collection]:
For each row in the table:
For each field in the row:
if isnull(row.field):
if row.field.type equal to "Text":
Set row.field.value to "".
end if
end if
next
next
next
Does anyone have an example of something like this? or an idea where I can find one?
Also, I believe to declare a variable of type database, you have to include a certain reference. Can someone tell me what that reference is?
Thanks,
John Wildanger
In looking at it, I think the easiest way to do this would be to have a routine like the following, if it is possible:
For each table in database.[table collection]:
For each row in the table:
For each field in the row:
if isnull(row.field):
if row.field.type equal to "Text":
Set row.field.value to "".
end if
end if
next
next
next
Does anyone have an example of something like this? or an idea where I can find one?
Also, I believe to declare a variable of type database, you have to include a certain reference. Can someone tell me what that reference is?
Thanks,
John Wildanger