Ok, I receive it, but I really don't know what to do with it...
I will copy your mail here. The forum is for something, other people who needs helps can look for it here. It we keep it private, then the only beneficiary is you. And we usually help people, but we don't do they works (AND WE NEVER DO HOMEWORK, not your case, but if somebody else read).
Quote:
here i have attached my AccessDB. I'm developing a roster mangement tool. In table JanuaryDay, u could find dates and shift for individual agents. In VB6.0 i kept two dtPicker controls, one is for selecting FROM date and another is for TO date. After selecting from and to date when user click cmdbutton data will be presented in flex grid control.
the way i planed is:
Name(from table "users") and all the dates (from dtpicker1 to dtpicker2, *not more then a month) will be the column name of flex grid. In row, name(from table "users") and JanShift(Shift name from table "JanuaryDay") value will display with respect to name(from table "users"). Finally user can see the shift wise manpower of the specific date or a specific date range.
Its true that i'm not a good programmer. I'm not sure that things i asked above with flex grid is possible or not. if possible then please help me with code or if not then can u please give me any solution or any other control suits my plan better?
Honestly, i'm hitting head against wall for the last few days. but cannot make it done. As i told you earlier...........
Kids need appreciation and guide. In programming world Iʼm a kid and highly eager to learn programming.
With regadrs,
devilz
|
I didn't open your database.
your want to present your data is something like this???
blank user1 user2 user3 ... userNN
date1 shift shift shift ...
date2 shift shift shift ...
date3 shift shift shift ...
or inverted. is the same... well.. the flex doesn't have first collum as title (or I don't remember), so the first collum will just look like a common value.
I don't remember by heart the code to do that. The query is a simple select that joins the table.
I can do the query for you (not now, tomorrow), but the code in the flexy is heavy. But if you probably google about it you will find nice ideas.
Anyway, try to start with it, and I will help you all I can.
another question. this is only for presentation or you also need to let the user change the data in any way?