L
LtFass
Well lets start; I have a popup form that has its module set to true, this
form is derived from a query very simple so far (He He). The query criteria
is a function that derives its info from a written Public function in a
Module, (the plot thickens), The public function is derived from a bound
column in a list box (OhBoy).
Now the result I want is when I dbl clck the list box I want the form to
popup with the info from the from. This works great as long as the query
returns data.... the problem is when there is no data for the query to return
the form never finishes loading and therefore my close button is not
availble and the form is stuck. (Whew) I would like to have a msgbox popup to
say "No data available" and the ok button would close the msgbox and the
popup form. I ahve tried a few things with no luck any help or ideas would be
great the codes are as follows:
syntax of the Public Funtion:
PumpData = Forms!frmRecordMain!lstPastSer
This seems to work great and, in the criteria of the query I have
PumpData()
form is derived from a query very simple so far (He He). The query criteria
is a function that derives its info from a written Public function in a
Module, (the plot thickens), The public function is derived from a bound
column in a list box (OhBoy).
Now the result I want is when I dbl clck the list box I want the form to
popup with the info from the from. This works great as long as the query
returns data.... the problem is when there is no data for the query to return
the form never finishes loading and therefore my close button is not
availble and the form is stuck. (Whew) I would like to have a msgbox popup to
say "No data available" and the ok button would close the msgbox and the
popup form. I ahve tried a few things with no luck any help or ideas would be
great the codes are as follows:
syntax of the Public Funtion:
PumpData = Forms!frmRecordMain!lstPastSer
This seems to work great and, in the criteria of the query I have
PumpData()