User Profile

Collapse

Profile Sidebar

Collapse
halljkl
halljkl
Last Activity: May 18 '09, 01:47 PM
Joined: Feb 6 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • I dont know what im doing but I just cant get it to work, with your help I feel I am a bit further on but cant get it to work properly
    See more | Go to post

    Leave a comment:


  • ill have a go at that now

    but is something wrong with this? It once a letter is entered is wont accept a number


    Code:
    //Program to claculate delivery cost
    #include <conio.h>
    #include <iostream.h>
    #include <string>
    main()
    {
    	int numberQuotes,error,letter;
       char nextDay;
       float weight,cost,deliveryCharge,total;
       char pound=156; //used
    ...
    See more | Go to post

    Leave a comment:


  • YES YES YES !!!!! THANKS SOOOOOOOO Much!!

    Just 1 more question. How can I loop it back so that the user has another go at entering a number. Can i not do a

    do{

    }while(cin.fail )


    ???
    See more | Go to post

    Leave a comment:


  • Ok ill try in a minute

    my whole code is currently...
    See more | Go to post

    Leave a comment:


  • I tried this but can you tell me how to put it into my code?

    Currently I have included
    #include <conio.h>
    #include <iostream.h>

    and have declared


    int numberQuotes,er ror;
    char nextDay;
    float weight,cost,delievery Charge,total;

    Weight is the one I want to validate

    Thanks so far it has been helpful!
    See more | Go to post

    Leave a comment:


  • halljkl
    started a topic C++ : Do not allow letters in a float validation?
    in C

    C++ : Do not allow letters in a float validation?

    I have to create a program that has validation in it, The programme asks the user for the weight of a package, and sets the cost appropriately, I have a do in place do that if the user types in a minus number it gives them an error.

    do{
    clrscr();
    cout<<"\n Enter the weight of the package to be delivered ";
    cin>>weight;
    if(weight<0)
    {
    cout<<"\n Error! ENTER...
    See more | Go to post

  • halljkl
    started a topic Network Access Form Read Only Problem

    Network Access Form Read Only Problem

    I have the database on the network now for testing purpose's however when someone opens it, it locks the database and makes everyone else have read only access how do I make it so that everyone can use the form at the same time and add? Its a suggestion form

    Thanks

    Lewis
    See more | Go to post

  • halljkl
    replied to IF THEN - Hide toolbars for users
    ok thank you VERY MUCH!!! this was very helpful!

    One other question.

    I have the database on the network now for testing purpose's however when someone opens it, it locks the database and makes everyone else have read only access how do I make it so that everyone can use the form at the same time?

    Thanks

    Lewis
    See more | Go to post

    Leave a comment:


  • halljkl
    started a topic IF THEN - Hide toolbars for users

    IF THEN - Hide toolbars for users

    Hello,

    I have made a form for entering suggestions, what I want to happen is if I open the form I can see all the toolbars, design view etc . . .

    but if another user opens the form all information is hidden.



    Also if possible when user "cornsg" opens the database I want that user to be shown a different form to everyone else opening it.

    I have set it up so when the...
    See more | Go to post
No activity results to display
Show More
Working...