P
polytimi8
Hello,
I would like to know if it is possible to create a form in Access2000,
which would function like a calendar for 8 operating rooms in
hospital, showing which hours are those closed for a specific date.
For this intersection I would like to be appeared the name of the
doctor, the name of the patient and the kind of operation.
Furthemore I would like this intersection to be marked in the calendar
with a colour, showing that this room is closed for that time.
The data for this form are going to be extracted from a table stored
in SQL Server 2000.
Generally the whole application is stored in SQL Server( stored
procedures, tables, diagrams etc.)
1)How this can be done? Is this going to be through VB or not? Can I
make a template in Excel spreadsheet put it in a form
and apply code on it?
I would like also to make forms(in Access) for user-entry data that
will use stored procedures of SQL Server with pushing the OK button.
The stored procedures would take as arguments the user-entry data from
the
forms.
I thought to make a pass-through query which would use a VB function
and would take as arguments the user's values
and after would pass these values in the stored procedures.
2)Can this be done through the pass-through query, that is Sql
Server "understands" VB or better Access pass-through query process
the VB commands before be connected with the Sql Server?
What do you think of this as an idea?
My problem is that I really don't know how to combine VB code with
Transact Sql code.
Can you give an example or any ideas where I can find the relative
information?
Thanks you in advance.
I would like to know if it is possible to create a form in Access2000,
which would function like a calendar for 8 operating rooms in
hospital, showing which hours are those closed for a specific date.
For this intersection I would like to be appeared the name of the
doctor, the name of the patient and the kind of operation.
Furthemore I would like this intersection to be marked in the calendar
with a colour, showing that this room is closed for that time.
The data for this form are going to be extracted from a table stored
in SQL Server 2000.
Generally the whole application is stored in SQL Server( stored
procedures, tables, diagrams etc.)
1)How this can be done? Is this going to be through VB or not? Can I
make a template in Excel spreadsheet put it in a form
and apply code on it?
I would like also to make forms(in Access) for user-entry data that
will use stored procedures of SQL Server with pushing the OK button.
The stored procedures would take as arguments the user-entry data from
the
forms.
I thought to make a pass-through query which would use a VB function
and would take as arguments the user's values
and after would pass these values in the stored procedures.
2)Can this be done through the pass-through query, that is Sql
Server "understands" VB or better Access pass-through query process
the VB commands before be connected with the Sql Server?
What do you think of this as an idea?
My problem is that I really don't know how to combine VB code with
Transact Sql code.
Can you give an example or any ideas where I can find the relative
information?
Thanks you in advance.