jawadfrhad
Programmer
hi all
this code i put in InteractiveChange...
The code
========
SET SAFETY OFF
SELECT itemname,itemid FROM itemss WHERE ALLTRIM(UPPER(this.value))$ALLTRIM(UPPER(itemname)) INTO CURSOR crs_city
CREATE TABLE MySource (Source C(20),Data C(254),count I,Weight I,Created T,updated T,user M)
INSERT INTO MySource (Source,Data,count,created,updated) ;
SELECT "TXT",; && usually the name of the textbox, the value of AutoCompSource
itemname,; && values from your table
itemid,DATETIME(),DATETIME() from crs_city
USE IN MySource
thisform.text1.AutoComplete= 1
thisform.text1.AutoCompTable="MySource"
thisform.text1.AutoCompSource=ALLTRIM("TXT")
LOCAL nLocID, nValue, llok, cOrder
=========================================
For a problem when you start typing the letter in the text box appear words in the drop down drop down words begin with the letter written
I want the words to appear in the beginning of the written letter and in the center of the written letter and the end of the written letter.
Thanks for the help me
this code i put in InteractiveChange...
The code
========
SET SAFETY OFF
SELECT itemname,itemid FROM itemss WHERE ALLTRIM(UPPER(this.value))$ALLTRIM(UPPER(itemname)) INTO CURSOR crs_city
CREATE TABLE MySource (Source C(20),Data C(254),count I,Weight I,Created T,updated T,user M)
INSERT INTO MySource (Source,Data,count,created,updated) ;
SELECT "TXT",; && usually the name of the textbox, the value of AutoCompSource
itemname,; && values from your table
itemid,DATETIME(),DATETIME() from crs_city
USE IN MySource
thisform.text1.AutoComplete= 1
thisform.text1.AutoCompTable="MySource"
thisform.text1.AutoCompSource=ALLTRIM("TXT")
LOCAL nLocID, nValue, llok, cOrder
=========================================
For a problem when you start typing the letter in the text box appear words in the drop down drop down words begin with the letter written
I want the words to appear in the beginning of the written letter and in the center of the written letter and the end of the written letter.
Thanks for the help me