+ Reply to Thread
Results 1 to 13 of 13

Teachers distribution

  1. #1
    Registered User
    Join Date
    01-27-2019
    Location
    Iraq
    MS-Off Ver
    2010
    Posts
    6

    Teachers distribution

    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.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel (Windows 11 64-bit)
    Posts
    60,622

    Re: Teachers distribution

    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" to anyone who has offered you help in your thread. You can reward them by clicking on * Add Reputation below theur user name on the left, if you wish.


    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.

  3. #3
    Registered User
    Join Date
    01-27-2019
    Location
    Iraq
    MS-Off Ver
    2010
    Posts
    6

    Re: Teachers distribution

    I always give you a positive reputation, please tell an administrator that it happened unintentionally and I am regret, Sorry for what happened

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 2000/3/7/10/13/16/365
    Posts
    51,903

    Re: Teachers distribution

    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

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 365 Win 11 Home 64 Bit
    Posts
    21,487

    Re: Teachers distribution

    Hello friends how can I disallow of all teachers from a school to distribute in an indicated hall ???
    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.
    Alan


    Have you debugged your code?
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  6. #6
    Registered User
    Join Date
    01-27-2019
    Location
    Iraq
    MS-Off Ver
    2010
    Posts
    6

    Re: Teachers distribution

    Quote Originally Posted by alansidman View Post
    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.
    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

  7. #7
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 365 Win 11 Home 64 Bit
    Posts
    21,487

    Re: Teachers distribution

    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.

  8. #8
    Registered User
    Join Date
    01-27-2019
    Location
    Iraq
    MS-Off Ver
    2010
    Posts
    6

    Re: Teachers distribution

    Quote Originally Posted by alansidman View Post
    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.
    You are right, here you are.
    Attached Files Attached Files

  9. #9
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 365 Win 11 Home 64 Bit
    Posts
    21,487

    Re: Teachers distribution

    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.

  10. #10
    Registered User
    Join Date
    01-27-2019
    Location
    Iraq
    MS-Off Ver
    2010
    Posts
    6

    Re: Teachers distribution

    Quote Originally Posted by alansidman View Post
    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 hope it works
    Attached Files Attached Files

  11. #11
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 365 Win 11 Home 64 Bit
    Posts
    21,487

    Re: Teachers distribution

    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.

  12. #12
    Registered User
    Join Date
    01-27-2019
    Location
    Iraq
    MS-Off Ver
    2010
    Posts
    6

    Re: Teachers distribution

    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

  13. #13
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 365 Win 11 Home 64 Bit
    Posts
    21,487

    Re: Teachers distribution

    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

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. I would like to make EXCEL count my teachers
    By helpme190 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-06-2018, 10:55 AM
  2. Teachers mark book
    By crakkers in forum Excel General
    Replies: 38
    Last Post: 08-27-2015, 07:10 AM
  3. Assign teachers to students
    By blackdenim in forum Excel General
    Replies: 2
    Last Post: 05-12-2015, 05:10 AM
  4. Grading system for teachers
    By lasso88 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-13-2013, 05:42 AM
  5. New to VBA - writing applications for college teachers
    By pcdog in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 10-21-2012, 01:23 PM
  6. Drop-down menus & teachers' reports
    By Rick_B in forum Excel General
    Replies: 6
    Last Post: 04-28-2005, 03:49 PM
  7. [SOLVED] Excell 2003 for Students & Teachers
    By Richard in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-13-2005, 01:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1