Hello
CREATE TABLE temp FREE (idpr i(10))
INSERT INTO temp (idpr) VALUES (232323)
INSERT INTO temp (idpr) VALUES (78979)
INSERT INTO temp (idpr) VALUES (3865678)
DELETE FROM temp WHERE idpr = 78979
SELECT * FROM temp INTO CURSOR cur
SCAN
MESSAGEBOX(idpr)
ENDSCAN
In this example the row...
Hello,
then I open the form in the developer view it works fine but when I make a build and run this my stuff not works ;( What I have todo for the build that all works?
Ok thanks but this does not work.
SELECT * FROM table INTO CURSOR src
thisform.list1.RowSourceType = 6
thisform.list1.RowSource = src.column
and yes the key is another column from the cursor.
thanks
imox
lcPath = JUSTPATH(FULLPATH(lcFile))
Sorry but what is lcFile? The local file in the directory in which is placed the program? I tried this and this doesnt work
I need a key for each item. e.g.
Item 1 (10)
Item 2 (11)
Item 3 (12)
When I get "Item 2" I want get "11" But in the list should only appears the Items. It is not normal to use a key value pair in foxpro?
So I add the one item to the listbox and this works well ;) But I need a key for each value ;(
SELECT * FROM table INTO CURSOR src
thisform.list1.RowSourceType = 1
SCAN
thisform.list1.AddItem(src.column)
ENDSCAN
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.