Re: Unload - Need advice - Code still running

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Andrew Dunn (andrewd_at_cclXXXmenzies.com)
Date: 03/08/04


Date: Mon, 8 Mar 2004 09:32:53 -0000

Bob ~ Do I sense a touch of sarcasm ?

User needs to select a bank account in order to enter statement details.
At any point, they can escape out of the program and return later to enter
more details.

The first time they select an account, they will need to enter some
additional details - ie Openning / Closing Balance.
It is not neccessary to re-enter this information on subsequent entries.

I just though that if the user selects a bank account from a combo list and
has already filled in the additional details, I would like the program to
take them straight to the data entry screens.

Is that unreasonable in a GUI environment ?

I thought the natural point to do this was during the validate event as that
was when I was checking the account.

I am only trying to unload a small sub-form.

"Bob O`Bob" <filterbob@yahoogroups.com> wrote in message
news:4048BF11.6D6@yahoogroups.com...
> Andrew Dunn wrote:
> > Essentially the sub-form has a combo box to select the key field. During
the
> > validate event of the combo box, the code reads some data and depending
on
> > the status, will need to either unload the sub-form or get further
details
> > from the user.
> >
> > Unfortunately my unload command is not working as the focus is now on
the
> > next field after the key field. (I don't know how to validate a field if
> > there is no next field available?)
> >
> > I could amend the form so that only the key field is offered and if the
> > correct criterea are met, provide the end-user with just an OK button
> > (disabling all the other fields). - but I don't want to go down that
route.
> >
> > Is there a recommended method of allowing an user to enter a key field
and
> > if required, unload the form at that stage ???
>
> wow. I only know that I am definitely not following along.
>
> You've got a ComboBox, and in its Validate event you decide, based on the
value
> chosen and maybe a bunch of other factors, that you're ready to unload the
form?
>
> Is that right?
>
> Heck, I can't even remember what gyrations you have to go through just to
> get the Validate event of a combobox to fire. Help me out here, I'm
positive
> that you don't have to add some unwanted OK button just because Unload Me
> won't work from within one context or another.
>
>
> Bob
> --
> looking for work again <http://obob.com/bob/resume/>

----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---


Quantcast