PC Review


Reply
Thread Tools Rate Thread

Lebans open form relative to control

 
 
Richard
Guest
Posts: n/a
 
      26th Feb 2007
Using the fantastic bit of code found at http://www.lebans.com/openform.htm

Is there a quick way to also filter the opened form, same as
DoCmd.OpenForm ?

In the following event handler, [frmTicket, popup of Buttons] is
opened, but I need it to be filtered with
"[TicketID]=" & [TicketID]


Private Sub ButtonCount_Click()
' 2 = Right Side
Dim rc As Integer
rc = PositionFormRelativeToControl("frmTicket, popup of Buttons",
ButtonCount, 2)
End Sub

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Control Tips using Stephen Lebans' continuous form code neil.mcdonald@blueyonder.co.uk Microsoft Access Form Coding 0 23rd Aug 2006 10:59 PM
Open "Dialog" Form Relative to Control Tom via AccessMonster.com Microsoft Access Forms 2 26th Dec 2005 01:30 PM
RTF control from lebans : Resize from content on a form instead of a report François Uldry Microsoft Access Forms 2 9th Dec 2005 08:48 AM
Relative URLs are Relative? Bill Microsoft Frontpage 2 10th Aug 2004 10:34 PM
How to chage Absolute url to relative url ,and relative url to absolute url gqtang Microsoft C# .NET 1 13th Sep 2003 05:22 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:36 PM.