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: *

  1. bd02eagle

    Is there a reserved word for PI

    Yea, I found the M_PI function(what I was really looking for a first) in the help file. I guess thats what scrumppy was implying.Thanks
  2. bd02eagle

    Is there a reserved word for PI

    Actually thats not working for me either and even though scrumpy's idea is pretty good, does anybody of how Im supposed to code the ArcCos funtion to get a more approximate answer?
  3. bd02eagle

    Is there a reserved word for PI

    Thanks, another way I was going to do it was just by defining a constant as #define PI ARCCOS(-1) since arccos(-1) = PI also.
  4. bd02eagle

    Is there a reserved word for PI

    Is there a reserved word for 3.14 so I can get an approximate value in a formaula Im using instead of just being able to use 3.14. Is there a header file that goes with it?
  5. bd02eagle

    String & Variable Concatenation problem

    Both ideas work great. Thanks!
  6. bd02eagle

    String & Variable Concatenation problem

    Here's a C++ statement: double B1 = 2.0; cout << "B1 = " << B1 << "lbs." << endl; Whats the equivalent code in Borland C++ Builder? I know RichEdit1->Lines->Append("B1"); does the first part but Im not familiar with string and variable concatenation. Thanks
  7. bd02eagle

    Populating a FORM Using a Subform

    Thanks for your help Bob, after toying with it all day, I discovered that my approach to what I was trying to do was wrong anyway. I really didnt need what I thought I needed in the first place so thanks for trying to help. I got it to work now. If I need something else, I'll be sure to ask. Thanks
  8. bd02eagle

    Populating a FORM Using a Subform

    Bob, TABLE#1 on FORM #1 does NOT have the Part_Name field available. Whoever designed the database felt the need not to place it in that table seeing that it was already placed in another TABLE#2(Which is the Parent table for TABLE#1, the table I'm having the problem with) and I cant change or...
  9. bd02eagle

    Populating a FORM Using a Subform

    The table in used in Form#1 doesn't have the part_name in it but the table in Form#2 does.
  10. bd02eagle

    Populating a FORM Using a Subform

    To kjv1611, I the fields are blank whenever I click the button in form number two. When I first tested the button out with the D1 field, it worked but the I tried it again and it didnt work anymore and it doesnt work for any of the other fields. To BSman, the only reason I've created form#2 is...
  11. bd02eagle

    Populating a FORM Using a Subform

    I have FORM#1 which is populated from Table 1 and field - PART_NUM on this form has a combo box which can automatically populate the entire form when the correct PART_NUM is choosen. However, if the user does not know the proper PART_NUM that they are looking for, I have a CHOOSE PART# button...
  12. bd02eagle

    Having The Save Button in the form pull the current date

    I have a form in access which Im using to enter data into a table. Well, when I click the save record button, Access saves the date in my Entry_Date field to the default date which is 4/20/1992 instead of the current date. What should I do?
  13. bd02eagle

    String Concatenation with edit boxes

    Thanks for the help guys. The function works great!!
  14. bd02eagle

    String Concatenation with edit boxes

    The first step works great for string concatenation. However, I guess I worded my problem wrong. What I was looking for was not the concatentation of the numbers as much as I was actually lookin for the addition of the two (ie. if L1 =1 and L2 = 2, the answer I was expecting would be 3 instead...
  15. bd02eagle

    String Concatenation with edit boxes

    I'm using two edit boxes in Borland C++ and I'm trying to get the values of the two boxes to be calculated and displayed on the screen by way a go button that I click. I tried writing &Edit1+ Edit2 in the OnClick section of the event handler for the go button but this is not working. Please help...

Part and Inventory Search

Back
Top