GIDForums  

Go Back   GIDForums > Computer Programming Forums > .NET Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 17-Dec-2007, 15:29
MonkOfox MonkOfox is offline
New Member
 
Join Date: Nov 2007
Posts: 21
MonkOfox is on a distinguished road

Getting ComboBox value in Access using VB


ok i have an Access project with a form named ''Menu'' and within that have a 'ComboBox' named "Equipment". How do I go about retrieving that 'selectedValue' through a module you can make in vb.

here is what I have so far....

Code:
Option Compare Database Function runThisStuff() updateLabel81 End Function Public Sub updateLabel81() Dim text1 As String text1 = Menu.Equipment.Value // gives me a runtime error here. // says expecting object. Menu.Label81.Text = text1 End Sub

So either access has no idea what 'Value' pertains to, or I'm just an idiot and doing it completely wrong.

Thanks you to whoever helps me out

Justin Fox
 
 

Recent GIDBlogNARMY by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VPSByte - 25% OFF all VPS services - Starting at $14.96 w/Full Root Access VPSByte Web Hosting Advertisements & Offers 0 26-Oct-2007 22:40
Data Recovery... Hard Disk Access hina-pande CPP / C++ Forum 1 03-Jul-2007 17:23
BDE Alias for ACCESS 2003 User/pwd ?? shakoush2001 CPP / C++ Forum 0 19-Mar-2006 10:47
Urgernt: Extremely queer Apache access log moothecow Apache Web Server Forum 1 20-Dec-2003 02:45
FREE 25 MB, No Ads, Control Panel, ASP, ColdFusion, PHP, MySQL, Access Hosting rkmails Free Web Hosting 0 08-Sep-2003 05:49

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 23:42.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.