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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Table Problem can you keep a table ontop

Status
Not open for further replies.

pumkinjay

Technical User
Dec 19, 2001
9
GB
Table Problem can you keep a table ontop of a form while editing the form

I have a push button which queries a table then creates and open the table over the form where the button is.
I would like the table to be visable so information can be took from it and typed into the form.

Please,is the any code I can use to do this.
see below for the script in my button
Var
input,testinput String
qq Query
tblVar Table
ordersTV TableView

endVar

input = "Type in RiskPhrase No ie ..10.."
input.view ("Risk Phrase Info")

qq=query

PhrasesRisk.DB | RiskPhrase | Hcode1 | Hcode2 | Hcode3 |
| Check ~input | Check | Check | Check |

PhrasesRisk.DB | RiskPhraseDescription |
| Check |

EndQuery


ExecuteQBE(qq,"tempPhraseRisk.db")

if ordersTV.open("tempPhraseRisk.db", WinStyleDefault, 100, 100, 1440*9, 1440*2) then
ordersTV.wait() ; wait for user to close
ordersTV.close() ; close Orders table
endif
endMethod
 
There may be a way (I can't think of one), but it would be easier to drop a small tableframe on the form, linked to a holding table where your query results end up.
Mac :)

"Do not delve too deeply in the arts of your enemy and so become ensnared by them"

langley_mckelvy@cd4.co.harris.tx.us
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top