Solved

Irish girl in need of help!

Posted on 2002-03-22
6
218 Views
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.

Thanks
0
Comment
Question by:dessie
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 6

Expert Comment

by:Triskelion
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?
0
 
LVL 30

Expert Comment

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

http://www.experts-exchange.com/jsp/qList.jsp?ta=msaccess


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

Expert Comment

by:Axter
ID: 6890135
FYI:

You could do this in C++, but IMHO, you would be making it harder on yourself.
0
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

by:AlexVirochovsky
ID: 6890699
May be ypu want work from C++ with Access DB. In such case see:
Other way see
http://www.1cplusplusstreet.com/xq/ASP/txtCodeId.1371/lngWId.3/qx/vb/scripts/ShowCode.htm
....
//**************************************
//    
// 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://
//     www.1CPlusPlusStreet.com/xq/ASP/txtCodeI
//     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)


 {
 CoInitialize(NULL);
 try


     {
     _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);
           
           pRst->MoveFirst();


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


         {
         cout<<(char*) e.Description();
     }
     ::CoUninitialize();
 }
....
0
 
LVL 11

Expert Comment

by:griessh
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.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
0
 
LVL 6

Accepted Solution

by:
Mindphaser earned 0 total points
ID: 6979136
Force accepted

** Mindphaser - Community Support Moderator **
0

Featured Post

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!

Question has a verified solution.

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

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

728 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