kunfuzed1
08-31-2003, 03:09 PM
please take a look at the attached picture...
In this app, there are two things i need to do, i may need to redo the layout, which is fine.
In the SSTab control, I have an array of these controls in each "table" (1-9).
What I'd like to do is two things..
First, I'd like to be able to take data from say Table 1, Player 1 and move it to Table 4, Player 2 or whatever the user defines.. I'd like to prompt the user with an option to take it from wherever and stick it some place else. The data to be moved is the start time, and or end time basically...
What should i be looking at to make this happen? i'm not really sure the right way to set it up..
Secondly, I'd like to make a .dat file that keeps track of all the totals and puts them somewhere that i can pull them up at the end of the business day and show total playing times and total costs for each table, 1-9. (players are cleared and added to all day long, i just want something to keep total minutes and cost for each player and then total that at the end of the day)
I've posted a similar question to this before and got suggestions to use a database, but i was really hoping to avoid that, just using simple write and read statements to a dat file if at all possible, but again, not sure if i should create a dat file for each table or what. Or if i must stay away from this and learn to use database stuff right now. I'd like to keep it confined to things i am already familiar with since i am under time constraints to finish this. i can go back and make it pretty later.
If anyone can answer these questions in part or in whole, it would be much appriciated, i'm not really sure where to go next for either of these problems.
In this app, there are two things i need to do, i may need to redo the layout, which is fine.
In the SSTab control, I have an array of these controls in each "table" (1-9).
What I'd like to do is two things..
First, I'd like to be able to take data from say Table 1, Player 1 and move it to Table 4, Player 2 or whatever the user defines.. I'd like to prompt the user with an option to take it from wherever and stick it some place else. The data to be moved is the start time, and or end time basically...
What should i be looking at to make this happen? i'm not really sure the right way to set it up..
Secondly, I'd like to make a .dat file that keeps track of all the totals and puts them somewhere that i can pull them up at the end of the business day and show total playing times and total costs for each table, 1-9. (players are cleared and added to all day long, i just want something to keep total minutes and cost for each player and then total that at the end of the day)
I've posted a similar question to this before and got suggestions to use a database, but i was really hoping to avoid that, just using simple write and read statements to a dat file if at all possible, but again, not sure if i should create a dat file for each table or what. Or if i must stay away from this and learn to use database stuff right now. I'd like to keep it confined to things i am already familiar with since i am under time constraints to finish this. i can go back and make it pretty later.
If anyone can answer these questions in part or in whole, it would be much appriciated, i'm not really sure where to go next for either of these problems.