Recent content by Nadia

  1. N

    select DISTINCT?

    & it just register the first course from: "WHERE Cid='c1' Or Cid='Ci1' Or Cid='Ci2' Or Cid='Pl1' Or Cid='EIT'"
  2. N

    select DISTINCT?

    hello every one, i have a SQL statment, that insert list of courses to Enrollment table (Default courses to new students) from another table .. 'called available_courses the problem is that some courses have more than one section, and i don't know how to select just one of the sections ...
  3. N

    What mood are you in today?

    OoOooOops!
  4. N

    Could You Check this code, please

    Not exactly null, i mean that sometimes a course doesn't have a previous course, the idea is checking in Pre_course table to see if it has a previous course, if it hasn't, then register the course if it has ,we have two options, 1. the student take the previous course and get a mark >= 60,then...
  5. N

    Could You Check this code, please

    Now he want to check the grade of previous course, so it should be the first one but it still not working (get the message box) and when trying the other one i still have the NULL values problem
  6. N

    Could You Check this code, please

    and yes i guess so , Everyone's a winner :)
  7. N

    Could You Check this code, please

    hhhhhhhhhhhhhhhhhhhh hope that my teacher won't come here! he is my lecturer in university, and almost 30 student should do this project but using different applications, and no i don't think that he would sail all the projects ;)
  8. N

    Could You Check this code, please

    You always find the solution! - i got the same old problem about adding null values! will check the tables to find the reason of that , and hope that it will work well then thanks Vila
  9. N

    Could You Check this code, please

    i chose a course which it's Previous course is taken, but i get the message box
  10. N

    Could You Check this code, please

    No, i get red lines in the code
  11. N

    Could You Check this code, please

    the first one Vila didn't work i get: Compile Error argument not Optional ( @ !Sid) and yes C1 i use it to test the Sql statement and forget to change it, and about comparing two values , isn't right to Dim StrSQL as integer? Now i'll test the other ones ..
  12. N

    Could You Check this code, please

    Dim StrSQL as string Dim strSQL1 as integer strSQL = "SELECT Pre_crsID from Pre_course where Cid= "C1";" IF IsNull(StrSQL) Or StrSQL = "" Then DoCmd.RunSQL = "insert into enrollment (Crs_id,Ehour , Eday ,room_No,sec_id,instructor_id,sid ,sem_no) select '" & Me!cid &...
  13. N

    Row Source of a ComboBox

    Sid.RowSource = "SELECT DISTINCT Student.SID FROM Student INNER JOIN Department ON Student.dept_no = Department.deptno WHERE Department.Head_of_dept='" & Forms!Employee_login!Eid & "'" this one worked :)
  14. N

    Row Source of a ComboBox

    i found it :o wasn't able to open Form properties until i select form from properties window .. however, it still not working and asking me to enter department number
  15. N

    Row Source of a ComboBox

    i mean load!
Back
Top Bottom