C
CarWashMike
Hi
I have a list of jobs outstanding dispayed on a form based on a query
listing the jobs. The from view is set to continuous forms, the detail
section is where the data is shown similar to dataseet view. I have a
command button in the detail section which opens another form to display
additional information. I only want the user to see the command button if
there is any additional information to be seen. I have a control on the form
which shows the number of records (if any) there are so I though I could say
If me.TheControlValue > 0 Then me.CommandButton.Visible = True End If. I put
this sub in the on current event of the form but the button is visble for
every record if one record satisfies the If statement. Any advice would be
great
Mike
I have a list of jobs outstanding dispayed on a form based on a query
listing the jobs. The from view is set to continuous forms, the detail
section is where the data is shown similar to dataseet view. I have a
command button in the detail section which opens another form to display
additional information. I only want the user to see the command button if
there is any additional information to be seen. I have a control on the form
which shows the number of records (if any) there are so I though I could say
If me.TheControlValue > 0 Then me.CommandButton.Visible = True End If. I put
this sub in the on current event of the form but the button is visble for
every record if one record satisfies the If statement. Any advice would be
great
Mike