PC Review


Reply
Thread Tools Rate Thread

Accessing a form object

 
 
Neal Ostrander
Guest
Posts: n/a
 
      16th Aug 2008
I am trying to create a report I need to access the value selected in a
listbox on one of my forms for generating the value to display. What is the
syntax I would use to access the form listbox?
The form name is frmTransactions and the list box name is lstSelectAccount

Thanks in advance for any help
Neal
 
Reply With Quote
 
 
 
 
Alex Dybenko
Guest
Posts: n/a
 
      16th Aug 2008
Hi,
try:
Forms!frmTransactions!lstSelectAccount

you can also use expression builder in query designer to build such
expressions

--
Best regards,
___________
Alex Dybenko (MVP)
http://accessblog.net
http://www.PointLtd.com

"Neal Ostrander" <(E-Mail Removed)> wrote in message
news:ED7FB640-2A61-4646-8E0C-(E-Mail Removed)...
>I am trying to create a report I need to access the value selected in a
> listbox on one of my forms for generating the value to display. What is
> the
> syntax I would use to access the form listbox?
> The form name is frmTransactions and the list box name is lstSelectAccount
>
> Thanks in advance for any help
> Neal


 
Reply With Quote
 
Neal Ostrander
Guest
Posts: n/a
 
      16th Aug 2008
Thanks, that worked.
Neal

"Alex Dybenko" wrote:

> Hi,
> try:
> Forms!frmTransactions!lstSelectAccount
>
> you can also use expression builder in query designer to build such
> expressions
>
> --
> Best regards,
> ___________
> Alex Dybenko (MVP)
> http://accessblog.net
> http://www.PointLtd.com
>
> "Neal Ostrander" <(E-Mail Removed)> wrote in message
> news:ED7FB640-2A61-4646-8E0C-(E-Mail Removed)...
> >I am trying to create a report I need to access the value selected in a
> > listbox on one of my forms for generating the value to display. What is
> > the
> > syntax I would use to access the form listbox?
> > The form name is frmTransactions and the list box name is lstSelectAccount
> >
> > Thanks in advance for any help
> > Neal

>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ReportViewer - accessing *second* object in object data source.... oliharvey@googlemail.com Microsoft Dot NET Framework Forms 1 23rd Feb 2007 04:05 AM
Accessing child object property from parent object Joćo Rezende Microsoft C# .NET 0 31st Jul 2006 04:01 PM
Accessing the PostedFile object of a multipart/form-data post Abe Simpson Microsoft ASP .NET 2 7th Dec 2005 08:33 PM
accessing object in parent form nwgarner@gmail.com Microsoft VC .NET 0 4th Aug 2005 07:48 AM
Accessing a dataset from an object on a different form Mike N. Microsoft VB .NET 3 25th Dec 2003 10:18 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:24 PM.