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...
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...
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...
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...
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.
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...
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...
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...
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
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.