?
Solved

id_data_dictionary purpose or function

Posted on 2014-03-21
6
Medium Priority
?
146 Views
Last Modified: 2014-03-24
Hello,
Could someone tell me what this line of code is doing? Escpecially the "id_dictionary_data" part.

rsdata.Filter = "id_dictionary_data = " & Trim(Str(CboHeaderFields.ItemData(CboHeaderFields.ListIndex)))
0
Comment
Question by:tesla764
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 1000 total points
ID: 39946077
Its filtering the recordset to only show values where the "id_dictionary_data" column's value is equal to whatever value is in the CboHeaderFields.ListIndex variable. See http://msdn.microsoft.com/en-us/library/ee275540(v=bts.10).aspx for more info.
0
 

Author Comment

by:tesla764
ID: 39946099
Do you know where I can get more info on the id_dictionary_data?
0
 
LVL 46

Assisted Solution

by:aikimark
aikimark earned 1000 total points
ID: 39946370
more info on the id_dictionary_data?
id_dictionary_data is a field in the rsdata record source.  You are filtering records.

Correction on the kaufmed comment...you are looking at the CboHeaderFields.ItemData value of the currently selected item in the combobox.  ItemData is a long integer value, so I would expect that id_dictionary_data is a long integer data type.  Also, this statement does not add any delimiters around the value, so it isn't expecting a string or date data type.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 39946405
It's just a column name, so I would start with the query that populates the recordset.
0
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 39946442
@aikimark

Thanks for the catch. A bit too fast on the copy there  = )
0
 

Author Closing Comment

by:tesla764
ID: 39950691
Thanks, that is very helpful.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question