Re: Hide all controls inside another control

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: 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)
  • Re: program
    ... >> Prompt the user to type in the hour and minute departure time for an ... >> Calculate the total number of minutes the flight will be in the air. ... >> Display the departure time, the arrival time, and the flight time (in ... Robbing banks is much more difficult than programming. ...
    (comp.lang.java.programmer)
  • Re: European trip ?s
    ... >> The last time I flew on a ticket from a consolidator, the departure time of ... >> the flight was moved back, ... > Would you have expected it to be any different had you bought the ticket ... Which airline anyway? ...
    (rec.travel.europe)
  • Re: 3 value logic. Why is SQL so special?
    ... If I may go further, if a single 'table' is seen as desireable for some reason, AFAIAC, actual departure time can be safely deemed to be equal to estimated departure time until the biz rules dictate that a plane has departed. ... Some misconceived queries might use actual departure time to determine that a flight has departed, but the writers of those queries should think twice, assuming that the purposes of the schema have been explained to them. ...
    (comp.databases.theory)