L
Lloyd
I have written code that takes a report number that user enters and then
grabs data from an oracle database and updates the access database. However
the data that comes in is in all uppercase. One of my subforms that the data
is imported to is a continuous forms view and generally contains multiple
records. After the data is added through my append query, I am using the
below code to convert the last name and first name to title case. But it
only works on the first record. How do I get the code to cycle through the
other records in the subform
Forms![frmMainEntry]![subfrmPersons]![LastName] =
StrConv(Forms![frmMainEntry]![subfrmPersons]![LastName], 3)
Forms![frmMainEntry]![subfrmPersons]![FirstName] =
StrConv(Forms![frmMainEntry]![subfrmPersons]![FirstName], 3)
Thanks in advance....
grabs data from an oracle database and updates the access database. However
the data that comes in is in all uppercase. One of my subforms that the data
is imported to is a continuous forms view and generally contains multiple
records. After the data is added through my append query, I am using the
below code to convert the last name and first name to title case. But it
only works on the first record. How do I get the code to cycle through the
other records in the subform
Forms![frmMainEntry]![subfrmPersons]![LastName] =
StrConv(Forms![frmMainEntry]![subfrmPersons]![LastName], 3)
Forms![frmMainEntry]![subfrmPersons]![FirstName] =
StrConv(Forms![frmMainEntry]![subfrmPersons]![FirstName], 3)
Thanks in advance....