access query Help

Steven Low

Active member
Joined
Apr 14, 2005
Messages
42
Programming Experience
1-3
Hi guys im trying to create a access database which has two colums like the example shown below.

VB.NET:
Registry          total registry 
 
///                     3

basically the first colume would contain these symbols /// and i want the second colume to read off the first colume soo if I have /// the total registry colum would show the total number of ///.

how woud i get the tables within access to do this
 
Hi lingsn

I am not sure were i type that query in access. when you say query im thinking the query section and type that under critera but it isnt is it?

Could you please explain were i would be typing this query please?:confused:

Thanks
 
Yes, it is in the "Queries",

1) click on new button up there, then it will pop up a new query box
2) Select the design view
3) It will as you to chose table, just close it.
4) In the menu, select View->SQL View, then paste the query in the previuos post, or you create your own query there, and save the query.
 
Hi lingsn

got it working

but i like to just count / and not anything else like x

heres what i have done: what would i need to include to just count \

SELECT student.StudentID, student.Firstname, student.Lastname, student.Age, student.[Dance Stage], student.Attendence, student.tname, Len([Attendence]) AS totalattendence
FROM student;
 
Back
Top