473,387 Members | 1,790 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Creating a pop-up based on what is entered in two fields.

Does anyone know who to make a pop up appear when in one field, Manual Refund or Manual Collection is chosen and two fields down, NO is chosen. I want the pop up to say "If Manual Collection or Manual Refund is chosen and ACH no, then no funds will be transferred to/from client without a loose form."

Thanks!
Feb 14 '11 #1
3 1924
Try using the on exit event of the ach field to test values for ach and refund fields, open form accordingly.
Feb 14 '11 #2
There are other options allowed under the adjustment type. How do I make it so that if only Manual Refund or Manual Collection are chosen along with ACH Needed selected as no, it will create the pop-up. The On Exit even will work, if ACH no, but I want the pop up to appear only when MRF or MCL
Feb 14 '11 #3
slenish
283 100+
If i was you i would probably use an if statement to check the two text fields for the situation. You would also have to make a custom pop up form to open when the situation is true. I would put it in the before update event of the second text box (or ACH box) you are trying to compare to the first one.

You could do something like this,
Expand|Select|Wrap|Line Numbers
  1. ACH TextBox BeforeUpdate Event
  2.  
  3. Dim MText (0 To 1) as string
  4. Dim ACHText as string
  5.  
  6. MText(0) = "Manual Refund"
  7. MText(1) = "Manual Collection"
  8. ACHText = "No"
  9.  
  10. If TextBox1 = MText(0) Or MText(1) And TextBox2 = ACHText then
  11.    Popup = True
  12.    Cancel = True
  13. Else
  14.  Cancel = False
  15. End if
  16.  
Feb 15 '11 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: spencer | last post by:
Hi, The code. def buildStackMajor(): for node in dirStackMinor: #print 's is the node...', node dirStackMajor.append(node) dirStackMinor.pop() print 'POP the stack...', len(dirStackMinor)...
2
by: shawn | last post by:
Does anyone know where I can find any resources for dynamically creating pop out menus using a database backend for the links?
6
by: Will | last post by:
Hi, Sorry to be a pest... But I can figure this out. I'm pushing to a stack. then I need to check to see if the word is a palindrome. Is the code below correct? if so, how can I check the...
1
by: Sunil Prasad | last post by:
I've designed an image slide show containing 10 images in an html page, by clicking any image a pop window appears containing the image description. Instead of creating 10html popup html pages...
2
by: John Hoge | last post by:
I would like to open an exit pop when a user leaves my site, but I don't want to the back button to trigger the pop if the user remains in my site. I'm using the onUnload attribute of the Body...
2
by: Michael Lvings | last post by:
I'm desperate for an Access database template that will record pop music chart information. I'm new to Access and having trouble working it out. Can anyone suggest a site where I might find a...
15
by: Stig Brautaset | last post by:
Hi group, I'm playing with a little generic linked list/stack library, and have a little problem with the interface of the pop() function. If I used a struct like this it would be simple: ...
11
by: Vijay Kumar R Zanvar | last post by:
> In <pan.2004.04.22.04.06.05.969827@bar.net> "Mac" <foo@bar.net> writes: > > >Is it legal to declare errno after you've included errno.h? > > > >For example: > > > >#include<errno.h> > > >...
25
by: Nicholas Parsons | last post by:
Howdy Folks, I was just playing around in IDLE at the interactive prompt and typed in dir({}) for the fun of it. I was quite surprised to see a pop method defined there. I mean is that a...
8
by: julia_beresford | last post by:
Hi I need to create the following class at runtime: public class MyCollection : CollectionBase { public void Add(MyItem item) { List.Add(item); }
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.