473,396 Members | 2,037 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to display data from table to combo box?

Good day everyone,

I'm having a hard time with my program on how to display the data from table to combo box. I have two tables that have been LEFT JOIN to have their relationship in the Data Environment SQL command. My 1st table is expense that has a columns of expno, expenseAmt, purno, acctno and the 2nd table is chartaccounts that has a columns of acctno and acctname.

How can I integrate the data from table to display it in combo box using Data Environment?

Is there any hard code that I must use to run the program?

Need help..
Nov 19 '10 #1
3 2409
smartchap
236 100+
Dear ur question is not very clear. What data do u want to display in Combo Box? Is it a column of data from a table (out of two) or something else? If u want to display contents of a particular column in a Combo Box, I think, u must use Recordset (say named rs), goto first record, loop through each record with rs.MoveNext upto rs.EOF and add item of that particular field (column) into ComboBox.
If required something else, please make it clear or post ur code with problem being faced.
Dec 7 '10 #2
problem solve.
Dec 9 '10 #3
smartchap
236 100+
Good to hear that u have got the solution. If u post ur code, I think it may be of benefit to others.
Dec 12 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Joe | last post by:
Hi, I have an asp.net script that connects to MS Access database and displays data in a table. For some reason I am do not know how to display data say in ascending order of column1. I have...
3
by: Agnes | last post by:
in my combo box , as the user choose the display member , the grid will show related data However,as the user "key in the data" in the combox , and press 'enter' , the grid won't show related...
11
by: Ron L | last post by:
I have a data table that lists a series of items in my database. In my user form, I want the user to be able to filter by a number of criteria (e.g. location, contract, date modified, etc). Other...
9
by: Kay | last post by:
Hi all, Could you tell me the best way to add a blank item(as first item) in a data binded combo box? Because I think I didn't do it right and it generate an error if the second item(after the...
4
by: Evan | last post by:
I have a data bound combo box. The combo box displays several items (status code descriptions). After the combo box is bound, I want to set the combo box so that the "Draft" status is displayed by...
4
by: McGowan | last post by:
Hi, I'm trying to display data from a mysql database in a HTML table but for some reason my code isn't working. At the moment I have got it to read and display the headers and the first row of the...
4
by: seth_hickel | last post by:
With other solutions I would get a recordset, read each record and display data by formating my html as I wanted to display values of each record. I am trying to display data in a three column...
1
by: Soumya v s | last post by:
i wants to display all table names in the combo box with php and mysql
2
by: bus007 | last post by:
I want to input months through the combo box and display data from a table that matches the particular month in ms access. Please give me an idea how to do it??
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.