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

Open new form with parameter or what?

Status
Not open for further replies.

Sum77

Programmer
Apr 11, 2002
5
FI
Hi!

I need help!

I have used this shape command to get data to my grids.
I have one grid where's parents and other grid where's childrens.

SHAPE {SELECT * FROM Authors}
AS Authors
APPEND ({SELECT * FROM Titles} AS Titles
RELATE Au_id TO Au_id) AS Titles

set datagrid1.DataSource = adoAuthors
set datagrid2.DataSourse = adoAuthors("Titles").UnderlyingValue

I want that when I dblClick children record on form1, it open/shows a new form2, where's details from that specific "Title".
How I know what record, user have click?

Form2 there is also shape command. I dont' know what to write on WHERE condition, that it shows record I've click in first form.

open "SHAPE {SELECT * FROM Titles WHERE = ... }
AS ...


Thanks in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top