E
EarlCPhillips
I am a newbie to VBA, but not coding. I volunteer coding at the local food
bank.
They use a database to schedule volunteers in to sort the food collected.
User wants to forcast how many vols will be here at a given hour or
half-hour on a
given day. DB record contains date, start time, end time and number
scheduled. I
have successfully programmed it using CurrentProject.Connection, SQL code
and ADO to call records,and placed it in a 25 by 60 array. Now I must display
array contents. Main form is frmMain, command button is cmdProjSched which
calls event procedure cmdProjSched_Click. Within sub procedure I have filled
the array and have it ready to print. Cannot seem to get output form named
frmSchedVol to address the array. Using output field properties, I think I
need to populate the Record Source with the address of the array, but I don't
know how to properly address it. Any help would be appreciated. Help feed
the hungry.
bank.
They use a database to schedule volunteers in to sort the food collected.
User wants to forcast how many vols will be here at a given hour or
half-hour on a
given day. DB record contains date, start time, end time and number
scheduled. I
have successfully programmed it using CurrentProject.Connection, SQL code
and ADO to call records,and placed it in a 25 by 60 array. Now I must display
array contents. Main form is frmMain, command button is cmdProjSched which
calls event procedure cmdProjSched_Click. Within sub procedure I have filled
the array and have it ready to print. Cannot seem to get output form named
frmSchedVol to address the array. Using output field properties, I think I
need to populate the Record Source with the address of the array, but I don't
know how to properly address it. Any help would be appreciated. Help feed
the hungry.