Irish girl in need of help!

Posted on 2002-03-22
Last Modified: 2010-04-02
I've got a web based application where students submit which subjects they want to take for the next semester and Administrators submit what subjects are available and what grade is required for each. All this info is then stored in an Access Database then after a date specified by the administrator which is also stored in database, I want a procedure to run which will allocate modules to the students according to there Grade.

Any ideas, help or links?
Bearing in mind that my knowledge in this area is limited.

Question by:dessie

Expert Comment

ID: 6890128
Is this to be done in C++?
Is it a CGI?

What do you mean by 'module'?
If the stuff is in a database, you can issue SQL to the database to update the records by grade (in the 'where' clause) and allocate modules.

Can you shed som more light on what you're trying to do?
LVL 30

Expert Comment

ID: 6890132
You should try posting this question on the Access topic link.

I don't see a C++ requirement.
LVL 30

Expert Comment

ID: 6890135

You could do this in C++, but IMHO, you would be making it harder on yourself.
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 14

Expert Comment

ID: 6890699
May be ypu want work from C++ with Access DB. In such case see:
Other way see
// Name: Access MDB
// Description:To open MS Access or Ms S
//     QL server database using C/C++ or VC++
// By: Mokarrabin A Rahman
// Returns:Shows some recordsets
// Assumes:Change the name of the databa
//     se to any database and place it in the s
//     ame directory as the .exe. You shoul als
//     o change the SQL to your particular data
//     base. You may change the connect string
//     to connect to MS SQL Server.
// Side Effects:Great
//This code is copyrighted and has// limited warranties.Please see http://
//     d.1371/lngWId.3/qx/vb/scripts/ShowCode.h
//     tm//for details.//**************************************

#import "c:\Program Files\Common Files\System\ADO\msado15.dll" \
no_namespace rename("EOF", "EndOfFile")
// This code comes from : www.geocities.
//     com/mokarrabin
#include <stdio.h>
#include <iostream.h>
void main(void)


     _RecordsetPtr pRst("ADODB.Recordset");
     // Connection String
     _bstr_t strCnn("DRIVER={Microsoft Access Driver (*.mdb)};UID=admin;DBQ=GBOOK.mdb");
           // Open table
          pRst->Open("SELECT * FROM ProductService where ProductService like '%samir%';", strCnn,

adOpenStatic, adLockReadOnly, adCmdText);

               while (!pRst->EndOfFile) {
                    cout<<(char*) ((_bstr_t) pRst->GetFields()->GetItem("ProductService")->GetValue())<<endl;
     catch (_com_error &e)

         cout<<(char*) e.Description();
LVL 11

Expert Comment

ID: 6956050
Dear dessie

I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. You can always request to keep this question open. But remember, experts can only help you if you provide feedback to their questions.
Unless there is objection or further activity,  I will suggest to

     "PAQ at zero points"

since you never gave more feedback.


Accepted Solution

Mindphaser earned 0 total points
ID: 6979136
Force accepted

** Mindphaser - Community Support Moderator **

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question