473,394 Members | 1,852 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,394 software developers and data experts.

how to show data of a table on a form

i have a table.
the table columns change from time to time.
i.e they are not constant.
colums may increase or decrease.

i want to show the values of these table on a form.
since the columns are variable,
how can i achieve my requirement?
can any body please help me


Thanq
Oct 16 '07 #1
3 25200
Jim Doherty
897 Expert 512MB
i have a table.
the table columns change from time to time.
i.e they are not constant.
colums may increase or decrease.

i want to show the values of these table on a form.
since the columns are variable,
how can i achieve my requirement?
can any body please help me


Thanq
Simply create a blank form using the design wizard and select "Design View" only. That gives you a blank form in design view with nothing on it.

Now using the toolbox, this time, without using the wizard (in other words make sure the 'wand' button is not depressed on the toolbox) drop a subform on the form and set its source object property to TABLE.Mytable (where Mytable equals the name of your table) This is the minimum you need to do to achieve what you wish. Now view the form in Form view.

You ought however to consider basing your source object on a QUERY that 'outputs all fields' rather than a table. That way you can set your various sorts options and any other restrictive 'where clauses' directly in the query to display the data you actually wish to see.

You access the properties of a query by right clicking in the various sections of the query design window or using the menubar VIEW...Properties whilst in query design.

The subform will in both cases adjust its columns accordingly when you open the form.

Hope this helps you

Jim
Oct 17 '07 #2
friend many many thanks. it worked perfectly
Oct 18 '07 #3
Jim Doherty
897 Expert 512MB
friend many many thanks. it worked perfectly
You're very welcome :)

Jim
Oct 18 '07 #4

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

Similar topics

15
by: Paul T. Rong | last post by:
Hi everybody, This time a very very difficult case: I have a table "tblStudent", there are 50 students, I also made a form "frmStudent" based on "tblStudent", now if I don't want to show all...
5
by: PawelR | last post by:
Hello Group, Sorry my english is very little. I have problem with show data from Table from DataSet in textBox. In my apps I have "typed DataSet" myDS with table TabPerson On Form I have...
8
by: PAPutzback | last post by:
How do I keep the form up.
2
by: nikou_70 | last post by:
I have a page with one text box when I search name, return value such as (address, phone...) I show these value in the table but I want to show these in text box that I have in my page. ...
5
by: M Skabialka | last post by:
I am creating my first Visual Studio project, an inventory database. I have created a form and used written directions to add data from a table to the form using table adapters, data sets, etc. ...
6
by: gerbski | last post by:
Hi all, I am relatively new to ADO, but up to now I got things working the way I wanted. But now I've run into somethng really annoying. I am working in MS Access. I am using an Access...
2
by: banderson | last post by:
Hello, I have a data entry form for a table with information about buildings and am having a problem making a combo box do what I want. I would like to make the combo box show a list of unique bldg...
11
by: andrewdb | last post by:
I have been working with a database that was already created by somebody else, who now no longer works here, so I cant ask any questions. None the less, there is a table 'Ascertainment' which...
3
by: janetopps | last post by:
I have a news website, with asp pages, which was on Access, and i upgraded to MySQL, i used Bullzip to transfer the data. It had about 1000 pages, which im now able to pull up on the public side. Im...
7
by: rleepac | last post by:
My db has a table called M_Employees with the employee demographics. Then I have a table called M_TestsAudio with audiogram results. These two tables are linked by the employee's SSN. Now for my...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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...

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.