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 bkrike 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: stanmurphy
  • Content: Threads
  • Order by date
  1. stanmurphy

    Unlocking a Database??

    Hi All, I've written a multiuser program in VFP8 but apparently multiuser programming is not my forte. All users are locked out of the data table now. And when I go in to edit the program, I'm told the database is locked when I try to use it or any of the tables. How do I unlock it, please...
  2. stanmurphy

    Starting MAIN program from Login Screen

    Hello All, I would like to call my main program, SCHEDULE, from a login screen after I have checked for valid username and password. When I simply call the SCHEDULE form from the LOGIN form, I immediately get an error say that the object SCHEDULE cannot be found. However, if I run the...
  3. stanmurphy

    Substituting variables into statements

    Hello all, Is it possible to substitute multiple variables into a statement such as: thisform.text1.value = m.columnX_rowY where X and Y are the variables? I have tried something like: thisform.text1.value = m.column&X.._row&Y.. but it doesn't work. Can anyone help, please. Thank you. Stan
  4. stanmurphy

    Storing ComboBox Fields to a record

    Hello All, My form has a combobox pointing to a table. My table is as follows: Field1 Field 2 01 | Option 1 02 | Option 2 03 | Option 3 04 | Option 4 I want field2 to be displayed to the user, but have field1 stored in my data table when I save the data on the form. I...
  5. stanmurphy

    Printing a form as displayed on-screen

    Hi there, Since the Keyword search is down I can't check if this has been answered before. Is there a way to print a form as it is displayed onscreen. I have written a scheduling program and the users want to be able to print the schedule as it appears onscreen in case of a power failure or...
  6. stanmurphy

    PageFrame & Memvar Problem

    Hello All, I have a modal form with a 2-page pageframe and a Private Datasession. Each page contains a number of check boxes. All the check boxes use memvar variables scattered from a single file as their controlsource. My problem is that the memvars for the check-boxes on page two keep...
  7. stanmurphy

    Select 'Filename' is baffling me!!!

    Hello All, Looking at the code below, can anyone explain to me why, when I suspend execution at either of the "DO FORM" statements, I am not at the file named APPT (according to ALIAS())? I am absoulutely stymied by this. APPT has buffering set to 2 in my MAIN program using: Use...
  8. stanmurphy

    File SELECT Mystery !!

    Hello All, The following code is the beginning of a program that is called from the Click Event of the textbox control in a single column grid. *************************************** PROCEDURE EditAppt PARAMETERS pGridNumber PRIVATE mDay,dtCurrentDate, mThisGrid, mMonth, mYear, mSeek...
  9. stanmurphy

    'field' Phrase Not Found - error!!

    Hello, When calling Form 2 from Form1 with "DO FORM APPTDISPLAY" I get the error: 'field' Phrase Not Found Anyone know why, please? Thank You.
  10. stanmurphy

    Data Environments and Form Creation??

    Hello All, I need help understanding a concept. I have two forms. On the first form, I added all the files I needed to the Data Environment to have the files available to connect to fields through the RowSource Property as I added the fields to the form. Now, as I create my second form, do I...
  11. stanmurphy

    How to set a file filter when exiting a text box??

    Hello Everyone, I have a form with 1 text box and 1 combobox. The combobox RowSource is set to a clientfile. I want to enter an initial into the text box and then set a filter on the clientfile so it only displays last names starting with that initial when I click on the ComboBox. I've placed...
  12. stanmurphy

    Grid activerow and activecolumn question

    Hello all, Just out of curiosity, I placed two text boxes on my form and placed code in my grid.click event as follows: ********************* thisform.text1.value = thisform.grid1.activerow thisform.text2.value = thisform.grid1.activecolumn thisform.refresh() ********************* But when I...
  13. stanmurphy

    Variable substitution within a loop

    Hello All, I am using the code below to clear a number of text boxes on my form. I tried the eval because I heard that a &variable will only be evaluated once in a loop. The eval seems to be working the same way. Does anyone know of another way to accomplish this task, that is, performing...
  14. stanmurphy

    Looping Through Text Boxes

    I'm wondering if there is an easier, 'better' method out there for processing a number of text boxes using VFP 7.0 SP1. Say you have five text boxes on a form. Each box holds a name. They are Text1 through Text5. Currently I would use: For countname = 1 to 5 STORE...
  15. stanmurphy

    COUNT command not working in EXE

    Hello All, Can anyone tell me why COUNT would work correctly in a program when run from the Project Manager but give only 0's when compiled? Thank you :)
  16. stanmurphy

    EXE Not Behaving ??

    Hello, In the code below, I am filling a grid of text boxes with the number in mCountTotal. When I run the program in Foxpro development, it works fine. When I compile and run, the counts all come up 0. Any ideas please? *********************************************************...
  17. stanmurphy

    Grid Refresh Problem

    Hello All :) The code below is in the Click Event of a Delete button on a form that shows appointments in a grid. When I click the Delete button, the grid does not refresh to show that the appointment is deleted. SET DELETED is ON. If I close the form and reopen it, the deleted appointment is...
  18. stanmurphy

    Problem with Edit Box

    Hello All, I am using an Edit Box on a form. When I click anywhere below the first line in the Edit Box to give it focus, the cursor appears to be on the second line. If I enter text there and save with a Gather, the text is not saved to the record. If, when the box receives focus, I move the...
  19. stanmurphy

    Using GRID with SQL Statement

    Hello all, I have a form with a grid. The recordsource for the grid is a(n) SQL statement. RecordsourceType is set to SQL Statement. The SQL statement is: Select x.clientid, x.apptdate, x.appttime, y.counname, x.appttype from appointments x left join counsellor y on x.counname = y.counname...
  20. stanmurphy

    Reading cell values in grid

    I am using a(n) SQL generated cursor to populate a cursor with all the appointments for a particular client from an Appointment table. Then I open a form and display the grid with the Recordsource set to the cursor. The fields displayed are clientid, apptdate, and appttime (for Client ID...

Part and Inventory Search

Back
Top