Browse DevX
Sign up for e-mail newsletters from DevX

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



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...

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?

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.



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