Jumat, 12 Mei 2017

Re: [MS_AccessPros] list box defaults

 

David-


Are the list boxes bound?  If not, then setting the Default Value will do nothing.  Set the value of the controls instead.

John Viescas, Author
Effective SQL
SQL Queries for Mere Mortals 
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications 
(Paris, France)




On May 12, 2017, at 3:56 PM, david.pratt@outlook.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:



My application is contained within a Navigation form.  It starts with a login form which collects some default values for corporations, locations and sites, as well as the UserID, and stores them as global variables. One of my Navigation tabs contains three cascading list boxes - lstCorporations, lstLocations and lstSites.  When that tab is clicked, I am wanting these list boxes to open with the default values from the login form already selected in the list boxes.


I tried setting the default values for each list box control to the values of the global variables, and I tried setting the default values in the form open event.  Neither seems to impact the list boxes.


How can I accomplish this?




__._,_.___

Posted by: John Viescas <johnv@msn.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.


.

__,_._,___

Tidak ada komentar:

Posting Komentar