Help For Final Project!
Author |
Message |
Mardy2008
|
Posted: Thu Jan 08, 2009 9:21 am Post subject: Help For Final Project! |
|
|
okay so in my grade 11 class (again) were working on this database thing. Everything works fine so far but there are a few thing sthat we are having trouble with and our teacher is kinda useless...
1. How to enter the date automatically for each user so it updates every day instead of us having to do it manually
2. How to create a counter for invoice number so even when the program closes it picks back up to the next number instead of starting again
3. how to create an array that can include spaces instead of just one word at a time
4. how to create some sort of field that you can insert a large amount of text information into
bits for everyone that helps =D |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
DemonWasp
|
Posted: Thu Jan 08, 2009 10:24 am Post subject: RE:Help For Final Project! |
|
|
1. Huh? If you're looking for date functions, check the Turing help. Otherwise, explain what you mean better.
2. Try saving the counter to a file, then loading that file next time your db runs.
3. Huh?
4. I don't recall Turing having a terribly restrictive limit on string lengths, but you could just make your own string class if you're having issues with the built-in one. That's not as easy as it sounds. If you mean a text box, then look for a "multi-line edit" or similar GUI control. |
|
|
|
|
 |
Insectoid

|
Posted: Thu Jan 08, 2009 12:20 pm Post subject: RE:Help For Final Project! |
|
|
Turing has a string limit of 255 characters (number might be off). I would save large blocks of text as a huge array of 1 character each, which would work for even monstrous blocks. I don't know if Turing has a limit on the size of arrays (it can hold at least 500000 elements/array). There are date functions in turing that return the current time. |
|
|
|
|
 |
|
|