dcsimg
Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


Tip of the Day
Language: SQL
Expertise: Beginner
Mar 21, 1997

WEBINAR:

On-Demand

Building the Right Environment to Support AI, Machine Learning and Deep Learning


I have a popup list that I want to populate other read only fields...

Question:
on a form based on the selection. I tried this two ways:

1) Using the validate method. This worked when the value was changed but not when scrolling through the queried records of the form.

2) Creating a subform with the popup as the master column. This worked for updating the fields while scrolling through records but would not allow the popup value to be changed because a detail record existed.

What is the easiest way to do this?

Answer:
It depends on what functionality are you trying to implement? For example, if you want to populate other fields when a user selects a value in a pop-up list.

You will have to implement the same functionality for the ChgCurrentRec() method of the repeater and the PostChange() method of any of the pop-up lists you want.

When you want to use the same functionality from multiple methods, you may want to define a user-defined method and call it from multiple places to reduce your potential maintenance problem.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date