Microsoft
Software
Hardware
Network
Question : List box in inputbox?
Is it possible to have a default listbox which comes from a table within my inputbox? Here is some of the code:
ID = rec![ID]
Debug.Print ID
dte = Now()
dtef = DateAdd("d", 30, [dte])
Debug.Print dte
rec2.AddNew
rec2("ID") = ID
rec2("Date") = dte
rec2("datef") = dtef
msg = "What is the subject?"
title = "Subject entry"
default = "Standard"
subject = InputBox(msg, title, default)
rec2("subject") = subject
rec2.Update
rec.MoveNext
I would like default to reflect what is in one of the existing tables? What do I need to do?
Answer : List box in inputbox?
Just change the custom inputbox form textbox to listbox (or whatever control you want to use) and no other modifications should be needed.
Random Solutions
How do you check the current date format of an SQL Server 2005 database?
Compaq Presario SR5010NX Desktop PC
Outlook 2007 connecting to Exchange 2010. Cannot connect to email folders.
SQL Count Query In a Main Query
Basic steps for a Zip code search ASP.NET VB, MS SQL 2008
How to create a non-scrolling section (menu) of a web page
Pass Web Page as Parameter to Class in App_Code Folder
VS2008 opens .aspx files in new IE window instead of Designer/Source Editor
Problem with "like" keyword, when database is in chinese
active directory, W2k8 R2 DC, Kerberos failures, Event ID: 3, 4771, 4769, 4768, 4776, 4625 source: Microsoft Windows security