D
DaveM
I have a form (named WO Request) that utilizes a combo box (named SITE) to
show a list of phyiscal sites the operator can pick from. This combo is
bound to a table (named Site). The table has two fields, one is SiteID, and
SiteName.
My problem is that when the operator has selected the proper site in the
combo box and other related fields they select a "submit" command button.
The code on the event click of the command button extracts the contents of
the forms various fields and places them into variables that i place into a
email body. All field contents make it over to the email body properly
except for this combo box content shows up in the email body as a number (4
for example) which is actually the SiteID number from the Site table, not the
site's name which is shown in the combo box of the form. What i need is the
corresponding SiteName.
I believe i need a SQL statement somehow to get this correct but i'm not
having much luck with this part. Any help would be appreciated.
Thanks
DaveM
show a list of phyiscal sites the operator can pick from. This combo is
bound to a table (named Site). The table has two fields, one is SiteID, and
SiteName.
My problem is that when the operator has selected the proper site in the
combo box and other related fields they select a "submit" command button.
The code on the event click of the command button extracts the contents of
the forms various fields and places them into variables that i place into a
email body. All field contents make it over to the email body properly
except for this combo box content shows up in the email body as a number (4
for example) which is actually the SiteID number from the Site table, not the
site's name which is shown in the combo box of the form. What i need is the
corresponding SiteName.
I believe i need a SQL statement somehow to get this correct but i'm not
having much luck with this part. Any help would be appreciated.
Thanks
DaveM