-
How to put database, stuff
How do i get a FlexGrid control to display just 2 fields,
in my database
Main
TypeAD
TimeWbiWM
Source
Amount
Date
PresetDollars
TimePeriodStatic
I have already made a query, , i know how to do so using a data control
and i know how to do it without the control, but showing ALL the records
of the database, I need to do this without a control, otherwise i would have
to make 5 controls.
My sql string is select * from qryDeductions
So the flex grid control would Just display the fields in qrydeductions
(source and amount where typead is deductions)
-
Re: How to put database, stuff
I think if you just specify those fields in your select statement, the grid
would show only those fields then.
Select Col1, Col1 from tablename.
Then set the datasource of that grid to that sql statement.
hope this helps.
"Thomas DeVol" <XerosAqua@hotmail.com> wrote:
>
>How do i get a FlexGrid control to display just 2 fields,
>in my database
> Main
> TypeAD
> TimeWbiWM
> Source
> Amount
> Date
> PresetDollars
> TimePeriodStatic
>I have already made a query, , i know how to do so using a data control
>and i know how to do it without the control, but showing ALL the records
>of the database, I need to do this without a control, otherwise i would
have
>to make 5 controls.
>
>My sql string is select * from qryDeductions
>So the flex grid control would Just display the fields in qrydeductions
>(source and amount where typead is deductions)
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks