amateur question on Jet Database and FlexGrid. 
Author Message
 amateur question on Jet Database and FlexGrid.

Assume I have a table with the following 2 fields:
- Occur: date/time type field
- Amount: Currency type field
Now I bind a FlexGrid to a DataControl, and the DataControl to the
Table.

Is it possible for the Grid to display the Amount Column as "$1.00"
instead of just "1".

Is it possible to display the Occur Column without the seconds and in
24Hour instead of AM/PM. Because of the space it takes up in the grid, I
would rather have "MM-DD-YY HH:MM" instead of "MM-DD-YY HH:MM:SS AM"

Thanks for all information.
G.Doucet



Wed, 18 Jun 1902 08:00:00 GMT  
 amateur question on Jet Database and FlexGrid.
Maybe you can consider using DBGrid instead of MSFlexGrid.
They are a bit defferend and a bit the same.

With DBGrid you can format eatch column seperate: After binding it to the
data-control right-click on the DBGrid and choose Properties.
On the property page Columns select:
for Column: Column0
     DataField: Occur
     NumberFormat: MM-DD-YY HH:MM
and for Column: Column1
     DataField: Amount
     NumberFormat: select Currency from the list.
Click Ok and run the project.

Greetings,
Johan.



| Assume I have a table with the following 2 fields:
| - Occur: date/time type field
| - Amount: Currency type field
| Now I bind a FlexGrid to a DataControl, and the DataControl to the
| Table.
|
| Is it possible for the Grid to display the Amount Column as "$1.00"
| instead of just "1".
|
| Is it possible to display the Occur Column without the seconds and in
| 24Hour instead of AM/PM. Because of the space it takes up in the grid, I
| would rather have "MM-DD-YY HH:MM" instead of "MM-DD-YY HH:MM:SS AM"
|
| Thanks for all information.
| G.Doucet
|
|



Wed, 18 Jun 1902 08:00:00 GMT  
 amateur question on Jet Database and FlexGrid.


Wed, 18 Jun 1902 08:00:00 GMT  
 amateur question on Jet Database and FlexGrid.
And I thought the msFlexGrid was Flexible. Thanks, this was a great help.
G.Doucet
Quote:
> Maybe you can consider using DBGrid instead of MSFlexGrid.
> They are a bit defferend and a bit the same.
> With DBGrid you can format eatch column seperate: After binding it to the
> data-control right-click on the DBGrid and choose Properties.
> On the property page Columns select:
> for Column: Column0
>      DataField: Occur
>      NumberFormat: MM-DD-YY HH:MM
> and for Column: Column1
>      DataField: Amount
>      NumberFormat: select Currency from the list.
> Click Ok and run the project.
> Greetings,
> Johan.



Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Amateur programmer seeking amateur programmer

2. Copying records from jet database to a new jet database

3. amateur has question

4. SQL - amateur question: What syntax do I use?

5. FlexGrid / FlexGrid pro traversing columns question

6. newbie Jet database question

7. Text and Jet databases - question

8. !JET Question for you database experts!

9. Jet Database question

10. QUESTION: Jet Engine Database Sizes???

11. Importing Jet 3.51 table into Jet 4.0 database

12. Jet DB Performance (Jet 3.51 vs. Jet 4.0)

 

 
Powered by phpBB® Forum Software