J
Jan Il
Hi all! Access 2000, Windows ME
I have a dilemma, and I hope someone can help me sort it out. Our company
recently switched to a new tri-agency data system,. that is scant, if
nothing else, when it is up and running.
My problem is, our department needs to find certain expense information in
order to create open purchase orders for certain vendors. We can not get
access to the accounting information, as it is not working properly. In
order to these open PO's in effect so that our field maintainers can secure
necessary parts for repairs, we need to provide a FY expense amount for each
vendor.
We have been using the Access database I developed for our department for
the last year, and I have all the necessary data in it, but, I need to be
able to sort the records by a combination of Account codes, Vendor name,
Department, and date period.
I have created a command button that I am trying to find a way to code to
allow for these various combinations to sort the data as necessary. I have
a filter form in place that will sort by a single control and the date
period, but, it was not necessary to sort with a larger combination until
now.
The controls are; (this is an old form, so excuse the less than creative
control names)
Combo114 - Vendor
Combo99 - Dept
Text0 - AcctCode
Text9 - PoNo
Text62 - From date
Text64 - To date
The name of the new command button is cmdExpResearch
I have been trying to find a way to set the Event procedure of the
cmdExpResearch button to something like;
Check all controls, if there are entries in any of the controls, open form
AcctCode Budget Form and display all records according to the combinations
entered. I don't have a great deal of time to play with it, as the need for
our maintainers to get parts is primary at the moment, and...no one seems to
know how to fix the new program, so....right now..all we have is my Access
database to put this information together as soon as possible.
I have tried several methods, in various combinations of relationships of
code, but, my coding is not very good for this type of combination. I have
tried to find something in the Help files that would give me a better idea
of how to formulate the code, but, so far, I'm not having much luck. I've
tried to adapt some other codes that are somewhat similar, but, the
combinations are not working.
I would truly appreciate it if someone would provide me with a Help file,
how to best word my search, or a KB article that would give me more
information on how to create the code to get the results I need.
Best regards,
Jan
I have a dilemma, and I hope someone can help me sort it out. Our company
recently switched to a new tri-agency data system,. that is scant, if
nothing else, when it is up and running.
My problem is, our department needs to find certain expense information in
order to create open purchase orders for certain vendors. We can not get
access to the accounting information, as it is not working properly. In
order to these open PO's in effect so that our field maintainers can secure
necessary parts for repairs, we need to provide a FY expense amount for each
vendor.
We have been using the Access database I developed for our department for
the last year, and I have all the necessary data in it, but, I need to be
able to sort the records by a combination of Account codes, Vendor name,
Department, and date period.
I have created a command button that I am trying to find a way to code to
allow for these various combinations to sort the data as necessary. I have
a filter form in place that will sort by a single control and the date
period, but, it was not necessary to sort with a larger combination until
now.
The controls are; (this is an old form, so excuse the less than creative
control names)
Combo114 - Vendor
Combo99 - Dept
Text0 - AcctCode
Text9 - PoNo
Text62 - From date
Text64 - To date
The name of the new command button is cmdExpResearch
I have been trying to find a way to set the Event procedure of the
cmdExpResearch button to something like;
Check all controls, if there are entries in any of the controls, open form
AcctCode Budget Form and display all records according to the combinations
entered. I don't have a great deal of time to play with it, as the need for
our maintainers to get parts is primary at the moment, and...no one seems to
know how to fix the new program, so....right now..all we have is my Access
database to put this information together as soon as possible.
I have tried several methods, in various combinations of relationships of
code, but, my coding is not very good for this type of combination. I have
tried to find something in the Help files that would give me a better idea
of how to formulate the code, but, so far, I'm not having much luck. I've
tried to adapt some other codes that are somewhat similar, but, the
combinations are not working.
I would truly appreciate it if someone would provide me with a Help file,
how to best word my search, or a KB article that would give me more
information on how to create the code to get the results I need.
Best regards,
Jan