Re: Hide all controls inside another control

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Graham R Seach (gseach_at_NOSPAMpacificdb.com.au)
Date: 10/18/04


Date: Mon, 18 Oct 2004 10:26:08 +1000

Of course it can be done, but where is the flight information coming from?
Is it part of the form's recordset, or are we supposed to look it up
somewhere? If so, where? Also, are you really using a text box called
txtDirectFlight? If so, are you really using "Yes" and "No" as its vpossible
values? What happens if the dumb user enters something else? I think it
would be better to use a CheckBox.

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia

Microsoft Access 2003 VBA Programmer's Reference
http://www.wiley.com/WileyCDA/WileyTitle/productCd-0764559036.html

"cvegas" <cvegas@discussions.microsoft.com> wrote in message
news:E123ED62-5CCE-4F31-A56C-57E481F45E8D@microsoft.com...
>I would like to create several different boxes that have some of the same
> controls in them and just display the appropriate one based on a value on
> the
> form.
>
> IE if this was a direct flight I would display the box with just the
> original flight number, departure time, and arrival time at destination
> airport.
> If this were a connecting flight I would display the box that had the
> original flight number departure time, arrival time at connecting aiport,
> connecting flight number, departure time of 2nd flight and arrival time at
> destination airport.
>
> Is there some type of control that I can set these different controls in
> and
> then based on the value txtDirectFlight = Yes/No display the proper box?
>
> I have tried a rectangle, options group, bound box, and can't seem to
> figure
> it out.
>
> Any help is appreciated.
>
>



Relevant Pages

  • Re: thetrainline.com - truly appalling service
    ... a flight it is the flight number. ... A train therefore cannot be ... released for booking until its departure time is absolutely confirmed. ... some obligation on the railway to notify the booker that there had ...
    (uk.railway)
  • Re: thetrainline.com - truly appalling service
    ... a flight it is the flight number. ... A train therefore cannot be ... released for booking until its departure time is absolutely confirmed. ... some obligation on the railway to notify the booker that there had ...
    (uk.railway)
  • Re: thetrainline.com - truly appalling service
    ... a flight it is the flight number. ...  A train therefore cannot be ... released for booking until its departure time is absolutely confirmed. ... some obligation on the railway to notify the booker that there had ...
    (uk.railway)
  • Re: program
    ... > Write a complete Java program that does the following: ... > airline flight. ... > Display the departure time, the arrival time, and the flight time (in ...
    (comp.lang.java.programmer)
  • Hide all controls inside another control
    ... controls in them and just display the appropriate one based on a value on the ... IE if this was a direct flight I would display the box with just the ... original flight number departure time, arrival time at connecting aiport, ...
    (microsoft.public.access.forms)