Home > database >  Ask a query program! Urgent need!
Ask a query program! Urgent need!

Time:09-27

According to the contents of the edit box shows data line! Want to achieve the effect of: such as input the content of the "day" shows begin with days, and then input "dragon" is displayed in "day dragon" at the beginning of the content, in turn down!

CodePudding user response:

You "like" it isn't solved the problem?

CodePudding user response:

Which one of the events with this?

CodePudding user response:

In the single line edit box to add a custom Event, the Event ID for pbm_enchagne, query code written in the newly added events and is ok

CodePudding user response:

If the single line edit box is dw, event eidtchange: the current edit data with the parameter data
If the single line edit box is common controls, then increase pbm_enchange events, data take its text attribute

Retrieval can be used to filter or query
1,
String lsname

Lsname=sle_1. Text \ \ lsname=data
Dw_1. Setfilter (" field names like '% "+ lsname +"' ")
Dw_1. Filter ()
Or
2,
String lsname, LSSQL

Lsname=sle_1. Text \ \ lsname=data
LSSQL=issql + "where the field name like '%" + lsname + "' "\ \ issql is an instance variable can be the window to open the assignment issql=dw_1. Getsqlselect ()
Dw_1. Setsqlselect (LSSQL)
Dw_1. Settransobject (sqlca)
Dw_1. Retrieve ()





Draco, pharmaceutical

CodePudding user response:

Top!!!!!!
reference 4 floor xys_777 response:
if the single line edit box is dw, event eidtchange: the current edit data with the parameter data
If the single line edit box is common controls, then increase pbm_enchange events, data take its text attribute

Retrieval can be used to filter or query
1,
String lsname

Lsname=sle_1. Text \ \ lsname=data
Dw_1. Setfilter (" field names like '% "+ lsname +"' ")
.

CodePudding user response:

Top of the

CodePudding user response:

Up all say very in position

CodePudding user response:

The 777 07:17:35 2010-07-07 elder brother really early

Hey hey just to eat rolls

CodePudding user response:

A.

CodePudding user response:

reference 4 floor xys_777 response:
if the single line edit box is dw, event eidtchange: the current edit data with the parameter data
If the single line edit box is common controls, then increase pbm_enchange events, data take its text attribute

Retrieval can be used to filter or query
1,
String lsname

Lsname=sle_1. Text \ \ lsname=data
Dw_1. Setfilter (" field names like '% "+ lsname +"' ")
.

The good learning

CodePudding user response:

Jf...

CodePudding user response:

All parameters can customize event detailed said?

CodePudding user response:

4th floor: excuse me: I tried, in the way you how runtime data window no data? And there is data in the data window

CodePudding user response:

Some routines, but I can't find it, like a Dr Out,

CodePudding user response:

14 floor, this is not you play me? Continue to look for them! Ha ha

CodePudding user response:

On the fourth floor

CodePudding user response:

Problem solved, thank you all, especially on the fourth floor!

CodePudding user response:

Methods on the fourth floor should be feasible...

CodePudding user response:

ding

CodePudding user response:

reference 4 floor xys_777 response:
if the single line edit box is dw, event eidtchange: the current edit data with the parameter data
If the single line edit box is common controls, then increase pbm_enchange events, data take its text attribute

Retrieval can be used to filter or query
1,
String lsname

Lsname=sle_1. Text \ \ lsname=data
Dw_1. Setfilter (" field names like '% "+ lsname +"' ")
.


support

CodePudding user response:


Return card can get 10 points available every day! small

CodePudding user response:

A custom event in SLE_1 zhongjian
The EVENT ID choose pbm_keyup
IF LEN (TRIM (SLE_1. TEXT))=0 THEN
DW_1. SETFILTER (" ")
DW_1. FILTER ()
RETURN
END the IF
String S_WORD, S_DM
S_WORD='%' + TRIM (SLE_1. TEXT) + '%'
DW_1. SETFILTER (PM like "'" + S_WORD + "'")
DW_1. FILTER ()
Dw_1. Selectrow (0, false)

CodePudding user response:

reference 4 floor xys_777 response:
if the single line edit box is dw, event eidtchange: the current edit data with the parameter data
If the single line edit box is common controls, then increase pbm_enchange events, data take its text attribute

Retrieval can be used to filter or query
1,
String lsname

Lsname=sle_1. Text \ \ lsname=data
Dw_1. Setfilter (" field names like '% "+ lsname +"' ")
.

agree

CodePudding user response:

reference 4 floor xys_777 response:
if the single line edit box is dw, event eidtchange: the current edit data with the parameter data
If the single line edit box is common controls, then increase pbm_enchange events, data take its text attribute

Retrieval can be used to filter or query
1,
String lsname

Lsname=sle_1. Text \ \ lsname=data
Dw_1. Setfilter (" field names like '% "+ lsname +"' ")
.

The top one
  • Related