Jump to content
Salesforce and other SMB Solutions are coming soon. ×

student database


rebecca

Recommended Posts

Hi, everyone.

 

I'm designing a student database for a customer that wants a social security number to be the unique field that identifies such record (a.k.a primer key) However, in the define field menu there isn't and option for this type of selection. Do you know a way to do this ?

 

Let me be more clear by an example

 

Let's say we have the following record: John Doe with social 609-45-5862. This person has taken Chemestry 101, Law 302 in the first semester. Now the second semester comes up and I need to enter more classes for John Doe, but I only want to type his social security number so that his name and personal information can show up. How do I accomplish this?

 

I hope I was clear. Thank you guys

 

Bye

Becca

Link to comment
Share on other sites

This needs to be done with a relationship and a portal.

 

I assume you have 2 DB's

Student ID

Student Coarses

 

Relationship to be

 

Student ID(SSN) :: Student Coarses(SSN)

 

When you enter the SSN into the

Student ID SSN field

you will see all the Info for the Student in the portal.

Link to comment
Share on other sites

Hi chopper. I did the relationship command just as you told me and it worked. Now everytime I enter the social security in the ss field the name and the last name shows up, which is what I wanted. Thank you a bunch and a little kiss as well.

 

I have another question though. I created a report like this:

 

Social Classes Semester

 

609-91-55 Math Fall 1999

 

 

The problem I'm having is that the report is creating separated records with the exact social security. For example:

 

Social Classes Semester

 

609-91-55 Math Fall 1999

------------------

Social Classes Semester

 

609-91-55 PE Fall 1999

------------------

Social Classes Semester

 

609-91-55 Music Summ 2000

------------------

 

My question is: what do I do to have the report to be like this?

 

Social Classes Semester

 

609-91-55 Math Fall 1999

PE Spring 2000

Music Summ 2000

 

thank you once again,

 

Becca

Link to comment
Share on other sites

You need to create a subsummary layout

sorted by

1 Social

2 Semester

3 class

 

Will look like this

 

000-00-0000 Jane Doe

class 1 fall 2001

class 2 winter 2001

class 1 spring 2000

 

000-00-0001 John Doe

class 1 Winter 2001

class 1 spring 2002

class 2 spring 2002

 

a litte clue your semester should be a number

i.e.

spring = 1

....

....

Winter = 4

sort in assending order.

Link to comment
Share on other sites

Ok sweetie, thank you a bunch I made it work thanks to you. Now my last question of the day.

 

This question is similar to the report question but this has to do with the "Find" mode.

 

When I go to find a record. It finds the records of such person, but it displays the found records separately. Like this

 

Page 1

John Doe

Social 609-91-55

Classes Math

Semester Fall 1999

 

------------------

 

Page 2

John Doe

Social 609-91-55

Classes PE

Semester Summer 1999

------------------

 

and so on.

 

 

When I perform a find for a certain person. Is there any way to have all records display tin only one page. Kind of like this:

 

000-00-0001 John Doe

class 1 Winter 2001

class 1 spring 2002

class 2 spring 2002

 

Do I have to create like a script kinda or ?

 

Thank you a million times.

 

Becca

Link to comment
Share on other sites

I forgot to ask you chopper. Do you really do contract stuff? Because I might have another and more complicated database for you to do.

 

Just E-mail me.

Link to comment
Share on other sites

Rebecca

 

Create a calculation field called Student_coarses

= calc = Class & " " & Semester & " " & Year

 

Now create a field called Student_Find

= Global = Text

 

Script =

 

Enter Browse Mode [ ]

Set Error caption [On]

Enter Find Mode [ ]

Pause Script [ ]

Perform Find [ ]

If Status(CurrentError)= 401

Show Message [No records found] [ ]

Go to layout [Original]

Show All

Else

Set Filed [student_Find, '' "]

Set Field [student_Find] (Student name & '" "& "SSN#& SocialSecurity Number

Go to Record Request [First])

loop

Set Field (Student_Find, Student_Find & "¶" & Student_coarses )

Go To Record Request [Next] [Exit after last]

End Loop

End If

 

 

Now your [student_Find] field should look like this

 

 

Student Name SSN# 000-00-0000

Class1 Winter 2001

Class2 Winter 2001

Class1 Spring 2002

 

 

As Far as contracting work goes it is yes. I do it part time now, But hope to be doing it full time soon. I am also working on my website where I am also working on my website where I will post demo versions of my stuuff for download.

 

chopper

Link to comment
Share on other sites

Another and easier way to do it is

 

create a list view layout

Put the student name and social security number in the header and the rest of the information in the body.

 

cool.gif * cool.gif * cool.gif

Link to comment
Share on other sites

This thread is quite old. Please start a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

Terms of Use