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 SkipVought 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: MForrest
  • Order by date
  1. MForrest

    Problem using FEOF due to CRC checker

    Thanks for the reply Mike, my data is not consistent, I have data coming in from two versions of an application the first version having fewer data fields. Gaining control of the file pointer in my file handle and tracking what version my import data is from now gives me the control to read...
  2. MForrest

    Problem using FEOF due to CRC checker

    Hi all, I am using the following code to import data from a csv file to my table: * NOTE: all this function does is grab all the data between quotes, ie. the fields. c = "" do while c <> '"' and !feof(f_hand) c = fread( f_hand, 1) enddo temp_str = "" c = "" do while c <> '"' and...
  3. MForrest

    Strange Problem using SCAN ENDSCAN

    No bother seem to have it working now, just made my dummy record have a few extra bits of info. Cheers Michelle
  4. MForrest

    Strange Problem using SCAN ENDSCAN

    When using the debugger to run through the code I can see that the appointment is recognised by the first scan as seeing an appointment trying to be made between the dates of an existing appointment but it is when I get to the ' if found() and diary.support_no != App_id' where the problem...
  5. MForrest

    Strange Problem using SCAN ENDSCAN

    Hi all, was wondering if you could take a quick look at this section of code for me. I use this code as part of a diary it is called each time an appointment is made to scan the table diary to see if the client is available. I have put a dummy record in my diary table so that even when the diary...
  6. MForrest

    Problem with Multiselect when rowsourcetype = Field

    Kevin thanks so much for investigating this for me, I have a good yet bad way of not being defeated which can drive me up the wall and waste a lot of time when i cant seem to fathom out a problem. I will be very interested to see the alternative if its not to much trouble.
  7. MForrest

    Problem with Multiselect when rowsourcetype = Field

    Hi Kevin I may have coded this wrong but I believe using the following code on the lostfocus and gotfocus event for the listbox does what it should but as soon as I hit the scroll bar to view the selections all selections are still cleared. I was sure that idea would work, have I made an...
  8. MForrest

    Problem with Multiselect when rowsourcetype = Field

    Thanks Kevin, just checked, was a good point as I know how tempremental some things can be but Its not fixed my problem, its so frustrating. Maybe its a setting on my pageframe as it only happens when I leave the page with my list and then go back to it, I can scrool the list fine if I stay...
  9. MForrest

    Problem with Multiselect when rowsourcetype = Field

    Hi, I have just been working on that, here I am using the following code to store the values of the items that are selected in the list to a variable called List: with thisform FOR i=1 TO .listName.ListCount IF .listName.Selected(i) List = List + "," + .listName.LIST[i,1] ENDIF ENDFOR...
  10. MForrest

    Problem with Multiselect when rowsourcetype = Field

    Hi Kevin cheers for the reply, kind of in Limbo land with this one so many properties to get my head around. Just changed the BoundColumn to 1 but it has not solved my problem Im afraid
  11. MForrest

    Problem with Multiselect when rowsourcetype = Field

    Hi all I have seen a few comments on this before but dont seem to have a solution. I can multiselect from my list fine but my problem is when I scroll the list the items in the list that were selected are deselected. I have two other lists on the same form but the rowsourcetype of those lists...
  12. MForrest

    Problem with coded multi-select List

    Wilfranz I have experienced the same problem when programmatically mulitselecting from a list, this problem only seems to occur when I use a rowsourcetype Fields if a rowsourcetype Value is used scrolling a list after programmatically selcting to it the selections remain. Did you find any...
  13. MForrest

    Problem with coded multi-select List

    Wilfranz I have experienced the same problem when programmatically mulitselecting from a list, this problem only seems to occur when I use a rowsourcetype Fields if a rowsourcetype Value is used scrolling a list after programmatically selcting to it the selections remain. Did you find any...
  14. MForrest

    DBUSED function

    Thanks for your help stuart, it helps to know that the dbused function checks to see if the tables within the database are used rather than me using it to check if the database is actually being used within another application. I have therefore gone back to what I originally coded, checking to...
  15. MForrest

    DBUSED function

    Hi all has anyone any info about the dbused function? I have checked out the basic info on my help menu but what I would like to know if I can use the dbused function to check if the database within my application is used by another networked user of their application. Im am using the following...
  16. MForrest

    _screen.forms not working

    Thank you again Mike, resetting the settings within the forms load method sure did the trick.
  17. MForrest

    _screen.forms not working

    Hi mike, sorry to bother you again, have i delved into something here that I clearly dont know what I am doing. Running the menu and calling both forms with the private datasessions in the design environment works dandy but when I build into an executable and run i get some strange goings on...
  18. MForrest

    _screen.forms not working

    Hi Mike thanks for your speedy response, I did not know about the DataSession property of a form, the joys of teaching yourself foxpro. I have set the datasession of both forms to private and it works a treat, no more cyclic relationship between the two forms, I have also set both forms to modal...
  19. MForrest

    _screen.forms not working

    Hi all sorry to touch on this subject again but I am having problems getting this to work, have I missed something out? My problem is my application has two main screens a diary and a client details screen, the two forms share some of the same tables within the data environment thus if the user...

Part and Inventory Search

Back
Top