Hello friends how can I disallow of all teachers from a school to distribute in an indicated hall ???
Thanks
Please Login or Register to view this content.
Hello friends how can I disallow of all teachers from a school to distribute in an indicated hall ???
Thanks
Please Login or Register to view this content.
Last edited by AliGW; 01-27-2019 at 07:23 AM.
Welcome to the forum!
Sorry, but I have no idea what you are asking.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
I always give you a positive reputation, please tell an administrator that it happened unintentionally and I am regret, Sorry for what happened
I have reversed the neg rep for you
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
What does this mean. I don't understand what you are asking. Suggest you tell us what your tables look like (List the fields and type, ie. Text, Integer, etc.) and what you are attempting to determine from the tables. Your code is meaningless without understand the criteria. Perhaps wee can resolve once you explain clearly what the issue is with a simple Query.Hello friends how can I disallow of all teachers from a school to distribute in an indicated hall ???
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
Thank you Mr.alansidman
I have a database and I have two tables
1- (tbl_Hall) which I put hall numbers and hall address
2- (tbl_teachers) which I write some info about each teacher but teacher's address is important
In distribution the database distributes each teacher according his/her address and his address should be match with the halladdress in tbl_Hall that means in sample names a teacher in London shouldn't put in Paris should put names in London hall.
But I have a problem
1- Prevent all teachers in school (ID_ number 1) in which hall later I write its number in tbl_Hall in fields PreventedSchoolID1 and PreventedSchoolID2.
Eg: prevent all teachers in school ID_1 from HallSerial 111
Suggest you attach a cut down version of your database. You will need to zip it to load it here. Additionally, after cutting it down, sanitize it for confidential data and then run a compact and repair to reduce the size. Really need to see it to fully understand what you are trying to accomplish.
Last edited by alansidman; 02-07-2019 at 04:54 PM.
I use WinZip V23 and I am unable to open your file. It appears that you are using some other software that WinZip does not recognize.
I am able to open, but I don't understand your requirements. Can you restate them using the your database and the particular field names in your tables. Please be as specific as possible in your example of your scenario.
Thank you Mr.alansidman
I have two tables
1- tbl_Hall. Its fields ( ID,HallSerial,Halladdress,preventedschool1,preventedschool2)
2- tbl_teachers. Its fields ( SID,nawymamosta means teachers name,regez means gender, address,mobile,Holl) so on.
what a database do:-
I have many halls for examinations, each hall has a serial number and an address which I write them in tbl_Hall.
In my form the database distribute teachers in my halls six teachers in a hall three of them Female and others male. but an important thing is halladdress in tbl_Hall should be match with address in tbl_teachers, because we disallow put a teacher in another city.
briefly I distributed teachers randomly in the halls, six in a hall. my halls not limited.
my requirement is:
how prevent/disallow some teachers in a specific hall or more than a hall
Eg: prevent all teachers that their (SID) means their school ID = 1 from Hall number 111 and 112. because their students exists in that halls.
maybe my way wrong what's the solution.
Thanks
I do not have Access available to me right now. I think that what you may want to do it create Cascading Combo Boxes.
First Box is Teachers, remaining boxes will be for Halls. Look at this link. https://www.fontstuff.com/access/acctut10pfv.htm
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks