Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Mirak
  • Order by date
  1. Mirak

    Creating a class

    Hi, ok that is it yes and yes we need to have a .h and .cpp file. And yes he have asked us to use / and %. thank you very much.
  2. Mirak

    Creating a class

    #include <iostream> using std::cout; using std::cin; using std::endl; #include <string> // program uses C++ standard string class using std::string; using std::getline; // Class DigitSeparator definition class DigitSeparator { public: // this...
  3. Mirak

    Creating a class

    Ok thanks
  4. Mirak

    Creating a class

    LOL. ok can you help me out I don't want anyone to do it for me I just want to start the steps.
  5. Mirak

    Creating a class

    Create a class called DigitSeparator. This class will only have one function called separator. Function separator will have ONE parameter of type long int which will be used to accept a six-digit number. Function separator will take the number passed to the parameter and separate it into its...
  6. Mirak

    Change sql user password from within VB

    2) Each user has his/her own SQL username and password I am not using a trusted connection.
  7. Mirak

    Change sql user password from within VB

    Hi I want to code a form that will enable the user to change his/her password from with a VB application. I already have the form to allow the user to connect to sql server in the vb application. But now i want to allow the user to change his logon from within the vb application. Is this...
  8. Mirak

    Pass date parameter from Access form to SQL Proc

    Hi, I finally got it to work. I basically used the SET DATEFORMAT ymd as suggested by SQL Bill. This will tell SQL what date format to expect. That was half of the solution. The other half, as rsinj pointed out, the date might not be coming across correctly to SQL Server. Using the CDate()...
  9. Mirak

    Pass date parameter from Access form to SQL Proc

    Hi, I tried your suggestion but SQL still had some problems. When I used the Cdate() function to convert my parameter, SQL report a problem with the '/' in the date. However, when I view the data in the actual table (thru Enterprise Manager), the date field date format is dd/mm/yyyy. How can I...
  10. Mirak

    Pass date parameter from Access form to SQL Proc

    Hi, I am having major league headache with SQL Server. I am trying to write a report which will execute a stored procedure based on certain parameters. Two of the parameters in the stored procedure are datetime data types. My main problem is passing the date value from an Access form to the...
  11. Mirak

    Pass parameters to a view from a calling stored procedure

    Hi, How can I pass optional parameters to a view when it is called from a stored procedure. Basically I want the recordset from the view to be filtered based on criteria requested by the calling procedure. I do not want the view to return records that are not needed for my report. Furthermore...
  12. Mirak

    Creating Views from tables across Multiple Databases

    Hi, I need some urgent assistance. I need to create views for a report, but the data that I need resides on different tables on two different databases on SQL Server. Is it possible to reference tables across databases. I know in MS Access its easy to link the tables and write the query, but I...
  13. Mirak

    Main report Subreport running total

    Hi, I have a main report in crystal report, which has a formula field showing a running total. However, I also inserted a subreport which provides a brought foward figure that I want to include in the running total of the main report. How do I tell the main report to use the brought foward...
  14. Mirak

    Crystal subreport datafile stress!!!!!!!

    I have a main report with two subreports inserted in it. I am running the report from a vb application. All three reports use the same data file which is an access .mdb. My major problem is that the report will only run locally thru the application. when I try to run it over the network, it...
  15. Mirak

    VB Multi-User Application corrupting tables in Access 97. Urgent Help!

    Thanks ZahidKhan03, I thought about that possibility, but the database is also password protected therefore its unlikely (but not impossible) that unauthorized users would open the database from outside the application. Is that the only reason a database would become corrupt? As I mentioned, in...
  16. Mirak

    VB Multi-User Application corrupting tables in Access 97. Urgent Help!

    Hi, I created a multiuser vb application that connects to an access db over a WAN.I am presently doing some testing with end users, and every so often one of the tables gets corrupted and corrupts the Access file. Only users who are logged on can access the tables ( except the table that is...
  17. Mirak

    Write Code for Crystal Report Logon server Access Database

    Hi, i think I finally resolved my problem. Instead of coding the logon server, I just needed to set the parameters for the username and password for the access database. Here is what the code looks like for the crystal object. With crptCrystal 'Set Source, Report name and...
  18. Mirak

    Write Code for Crystal Report Logon server Access Database

    Hi, I have an application that connects to an access 97 database. The database is password protected, therefore I need to code the connection in my application. I have managed to write the code for vb to connect to the database. However I am having a problem with the reports because they are...
  19. Mirak

    Currency data type is rounding figures...Can you prevent this???

    Hi, I am comparing two variables of the same currency data type. The first variable (PayinSumAmountCheck) is taken from a single row returned from an sql statement based on a parameter text box which the user inputs. Then second variable2(curTReceiptAmountCheck), however is derived by adding a...
  20. Mirak

    Urgent! Set ODBC Connection let Database objects use it.

    Hi, I am writing an application in MS Access 2000 that connects to SQL Server, then runs some queries to produce a report. The application basically uses linked tables, on which the queries execute. I have created a log on screen which authenticates the users to the SQL server. However, when...

Part and Inventory Search

Back
Top