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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by ggrewe

  1. ggrewe

    Using Special Characters in Grid Header

    Found the problem... I was not specifying the location of the icon file and the location was not in the path statement. When running the form in the IDE, the icon never displayed. After compiling the form, it worked great. Thanks! Greg Grewe West Chester, Ohio
  2. ggrewe

    Using Special Characters in Grid Header

    Hum, I have tried that, but have not had much luck. You have done this and it worked for you? I must have typed something wrong. Greg Grewe West Chester, Ohio
  3. ggrewe

    Is a class definition available

    Tom, You could also do something like this... LOCAL lcCurClassLib lcCurClassLib=SET("CLASSLIB") IF !UPPER("Your Class Name") $ lcCurClassLib SET CLASSLIB TO "Your Class Name" ADDITIVE ENDIF Then create your object... loReportsMenu = CREATEOBJECT('ReportsMenu') loReportsMenu.Show()...
  4. ggrewe

    Using Special Characters in Grid Header

    I am trying to find a way to display special characters in a grids header. For example; I have a method written in my grid class that when I click on a grid header, it sorts the grid accordingly. I also change the caption of the header to include an up arrow (^) when the header is first...
  5. ggrewe

    E-Mailing selected values

    Here is my final working solution.... Populate the checkboxes do while not rs.eof html_str = html_str & "<tr><td><td><td>" & rs("SMM DESCRIPTION") & "&nbsp;-&nbsp;" & _ rs("SMT DAY") & "&nbsp;-&nbsp;" & rs("SMT TIME") & "<td><input type=checkbox name='ministry' size=50...
  6. ggrewe

    E-Mailing selected values

    Thanks Satish, i did catch that earlier. But my main question is how to loop through the values of the checkboxes and if they are checked, how do I include just those values in the e-mail? I am trying this, but strugling... for each QSParam in Request.form if instr(QSParam, "ministry_") =...
  7. ggrewe

    E-Mailing selected values

    Folks, I have a form that displays several posible selections (from a database query) as checkboxes on a form. The code below displays those choices correctly; <% query = "select * FROM qry_MinistriesandTimes" set rs = con.execute(query) html_str = "" RecordNumber = 1 do...
  8. ggrewe

    Adding Color to a ListBox

    Thanks Mike, I did try this over the weekend and though it did work, you are right, the user could not select the disabled item. I may just use a grid and remove the grid lines instead. Should work the same way. Thanks again! Greg Grewe West Chester, Ohio
  9. ggrewe

    Adding Color to a ListBox

    Thanks Mike, I appreciate your feedback. If I try that, I will let you know. Have a good week. Greg Grewe West Chester, Ohio
  10. ggrewe

    Adding Color to a ListBox

    In VFP 9 is it possible to change the color of the text in a listbox dynamically? Sort of like DynamicBackColor in a grid. Basically I want to change the text color list item if a particular value is true. I have tried the following to no avail; FOR i = 1 TO .lstAttendeeName.ListCount IF...
  11. ggrewe

    Problem Validating Data

    That was it, I had to pass the entire field name, all lowercase. Thanks for your help! Greg Grewe West Chester, Ohio
  12. ggrewe

    Problem Validating Data

    I am trying to validate a textbox field for a value that is not empty. I am using the following code. I added the code { alert(lcValue) ; } to test the value being passed. When the function fires, the alert "undefined" is displayed. Any help is greatly appreciated. <script...
  13. ggrewe

    Updating a table from a drop down

    I agree and confused. The table ("Access Groups") only has two fields; AccessGroupId and AccessGroupName. The code to poplulate $row_AccessGroups is: $query_AccessGroups = "SELECT * FROM accessgroups"; $AccessGroups = mysql_query($query_AccessGroups, $connIVC) or die(mysql_error())...
  14. ggrewe

    Updating a table from a drop down

    Thanks for this tip. When I change values, the alert displays no data, so it appears that the code below may be a problem; <option value="<?php echo $row_AccessGroups['AccessGroupID'];?>" <?php if (!(strcmp($row_AccessGroups['AccessGroupID'], 4))) {echo "SELECTED";} ?> >...
  15. ggrewe

    Problem Setting Focus

    Marcia, I am sorry it took so long to reply, I was kind of laid up for a while... Anyway, to answer your question, I created a class with the property roSetFocus. Within several methods of that class (such as edit records, add records, etc.) instead of manually updating the code to setfocus...

Part and Inventory Search

Back
Top