Hi all,
Can someone tell me how to write a procedure that creates a table? I've done it before, and I can't remember how I did it. I think it was someone thing like:
Dim Table As TableDefs
For each fld in fld
But I've just totally forgotten.
Also within this table, I want to prepopulate 2 fields with data like the following:
Date Hour Orders Lines
21/11/2003 08:00
21/11/2003 09:00
21/11/2003 10:00
21/11/2003 11:00
21/11/2003 12:00
21/11/2003 13:00
and so on...... up to 23:00
So that the user can just key in the Orders and lines themselves.
The times although most of the time, are not always from 8pm to 11pm. So I also wanted to know if there is a way to create an array via code. ie; user enters in the start and finish time and the code will fill in the blanks.
Thanks, tadynn
Can someone tell me how to write a procedure that creates a table? I've done it before, and I can't remember how I did it. I think it was someone thing like:
Dim Table As TableDefs
For each fld in fld
But I've just totally forgotten.
Also within this table, I want to prepopulate 2 fields with data like the following:
Date Hour Orders Lines
21/11/2003 08:00
21/11/2003 09:00
21/11/2003 10:00
21/11/2003 11:00
21/11/2003 12:00
21/11/2003 13:00
and so on...... up to 23:00
So that the user can just key in the Orders and lines themselves.
The times although most of the time, are not always from 8pm to 11pm. So I also wanted to know if there is a way to create an array via code. ie; user enters in the start and finish time and the code will fill in the blanks.
Thanks, tadynn