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 derfloh 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

    ...should start from. The other programmer who coded the import facility has not put any flag between where one tables info starts and ends you see. * first batch of data to be gathered from file to import if version == "V1" * removing elements of data from 54 to 47 as the table controling...
  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

    ...run it again the appointment checking program works fine so it just seems to be when i have one dummy record and the first time I check the diary. * check the clients availabilty if we are wanting to save a client appointment, check if the client is already scheduled for an appointment or if...
  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

    ...idea would work, have I made an obvious mistake anywhere? I have used the following on the lostfocus of the list: Local list_count list_count = 0 * clear array for a = 1 to alen(a_prefix) a_prefix[a] = "" endfor with thisform.pageframe1.page1 FOR i=1 TO .lstPrefix.ListCount IF...
  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

    ...I was hoping to run this bit of code from the menu to close all current forms that may be open before opening the new form accessed from the menu. * close all forms before opening the client details form else we will have a cyclic relationship between data of the forms FOR EACH loForm IN...

Part and Inventory Search

Back
Top