D
dustinb via AccessMonster.com
I want to reference an entire table and check for a certain entry. Table
Name is tblClientInfo.
I have code that saves some files as the client number they are associated
with (Works fine). Next it will look at each file in the directory and then
store only the client number portion of the file name ( 12345.xls = 12345)
under strClientNum (works fine).
I would like to scan tblClientInfo for the unique entry that matches
strClientNum in ClientNumber field of tblClientInfo. When the unique match is
found I would like it to store two other records from tblClientInfo that are
labeled ContactName and ContactEmail under their own strings. I cannot
figure out how to search ClientNumber in tblClientInfo for the entry and then
store the other two bits.
Any help would be appreciated. Any questions please ask. Thanks.
Name is tblClientInfo.
I have code that saves some files as the client number they are associated
with (Works fine). Next it will look at each file in the directory and then
store only the client number portion of the file name ( 12345.xls = 12345)
under strClientNum (works fine).
I would like to scan tblClientInfo for the unique entry that matches
strClientNum in ClientNumber field of tblClientInfo. When the unique match is
found I would like it to store two other records from tblClientInfo that are
labeled ContactName and ContactEmail under their own strings. I cannot
figure out how to search ClientNumber in tblClientInfo for the entry and then
store the other two bits.
Any help would be appreciated. Any questions please ask. Thanks.