A
Ayo
How do I display a form that is based on a query when there is no record to
display. Right now, the form is just blank with no controls or anything else
on it.
DoCmd.OpenForm "frmSiteConfiguration",acNormal, "qry_Combined",
"tbl_SiteInformation.SiteID ='" & txtSiteID & "'" & " And
[Config_Technology]='" & cmdUMTS1900.Caption & "'" & " And
[tbl_SiteInformation.ProjectName]='" & txtProjectName & "'"
The form is based on a query and I have about 5 buttons on it to display
data based on 3 fields in the query criteria. There are no records for
UMTS1900 in the query so that when I click on the button for UMTS1900, the
form is shown completely blank. And there is no way to navigate away from it.
Is there a way to write a code that display the form with a blank record?
display. Right now, the form is just blank with no controls or anything else
on it.
DoCmd.OpenForm "frmSiteConfiguration",acNormal, "qry_Combined",
"tbl_SiteInformation.SiteID ='" & txtSiteID & "'" & " And
[Config_Technology]='" & cmdUMTS1900.Caption & "'" & " And
[tbl_SiteInformation.ProjectName]='" & txtProjectName & "'"
The form is based on a query and I have about 5 buttons on it to display
data based on 3 fields in the query criteria. There are no records for
UMTS1900 in the query so that when I click on the button for UMTS1900, the
form is shown completely blank. And there is no way to navigate away from it.
Is there a way to write a code that display the form with a blank record?