Solved

Irish girl in need of help!

Posted on 2002-03-22
6
214 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
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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

809 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