dcsimg
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Oct 1, 1996

WEBINAR:

On-Demand

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


Changing RecordSource at Runtime

Question:
At runtime, how do I change the query that I'm using with my data controls to be one a user selected? I don't want to keep the same name in the RecordSource property all the time.

Answer:
You can change the RecordSource of the data control at run time -- just give it the name of the query you wish to use. You can also change the database name property at run-time.

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