This topic is locked

Pop-up window with master detail

8/8/2010 8:56:24 PM
ASPRunnerPro General questions
W
Wheelers_Hill author

Has anyone created a Pop up window using the value in the field under the cursor as the key to an SQL database.

This is needed to allow the user to view the master record corresponding to the value in the field under the cursor.
Additional Information

I want to be able to view the Master Record in a popup window from the Child screen.

A
ann 8/9/2010

Hi,
you can set up the field as custom on the View as settings dialog on theVisual Editor tab.

Here is a sample code to create a popup for the field:

strValue = "<a href=# onmouseover=""window.open('"& SESSION("TableName_mastertable") & "_list.asp',height=100,width=100);"">" & strValue & "</a>"

where TableName is your actual child table name.

hichem 8/20/2010



Hi,
you can set up the field as custom on the View as settings dialog on theVisual Editor tab.

Here is a sample code to create a popup for the field:

strValue = "<a href=# onmouseover=""window.open('"& SESSION("TableName_mastertable") & "_list.asp',height=100,width=100);"">" & strValue & "</a>"

where TableName is your actual child table name.


If one wants to implement a dynamic 'tooltip' feature on a field basis, is this the best way to do it in ASP or is it better to wait fro the upcoming release?

Thanks
Hich

W
Wheelers_Hill author 8/20/2010



If one wants to implement a dynamic 'tooltip' feature on a field basis, is this the best way to do it in ASP or is it better to wait fro the upcoming release?

Thanks
Hich


Thanks Hich, can you tell me which up coming release you are refering to.
Wheelers

hichem 8/23/2010

Hi Wheelers

This is rather a question for the ASPR/PHPR team. I know that they usually consider all suggestions and make the best out of it. A number of UI changes are planned for the end of year release and am sure it will be full of nice surprises.

With ASPR you always get more than what you wish for.

May be there is a way to integrate a third party script to have dynamic tooltips (based on table data) or may be there is a trick that Ann or jane can share with us.
Cheers

Hich

W
Wheelers_Hill author 8/23/2010

Thanks Hitch, will look out for the next release.

Cheers,

Wheelers



Hi Wheelers

This is rather a question for the ASPR/PHPR team. I know that they usually consider all suggestions and make the best out of it. A number of UI changes are planned for the end of year release and am sure it will be full of nice surprises.

With ASPR you always get more than what you wish for.

May be there is a way to integrate a third party script to have dynamic tooltips (based on table data) or may be there is a trick that Ann or jane can share with us.
Cheers

Hich