Hi,Is it possible to have a frame which simply just opens to a particular document with a particular form? (Perhaps using a doc id or dblookup)?
Thanks in advance.
Hi,Is it possible to have a frame which simply just opens to a particular document with a particular form? (Perhaps using a doc id or dblookup)?
Thanks in advance.
Subject: Yes
Yes you can.
You could set the autoframe for the form (you can set this on the launch property of the form, or you can write some code to do it)to open in the frameset that you specify. So when you open that document, it’ll open the associated framset too…
HTH,
Ranjan
Subject: Can you get a frame to just simply opens to a particular document?
I posted this previously, may be helpful:
I needed to set my frame value to open the first document in a view on the web. What I did was create a form with an editible field called “dbname”, its default value is:
@ReplaceSubstring(@Subset(@DbName; -1); “\”; “/”)
I then added the following to the onLoad event:
var path = document.forms[0].dbname.value;
location.href = (“/”+path+“/YourViewName/$first?opendocument”)
I found a lot of useful information in this forum but for whatever reason I had a hard time getting this to work so I figured I’d post my solution.