[AccessD] Open a form in DS mode

Arthur Fuller artful at rogers.com
Thu Apr 7 18:50:22 CDT 2005


Good idea, and fits in with the existing logic. But what do I tell 
Access to do, given that I find "ds" as the prefix or suffix or whatever?


Stuart McLachlan wrote:

>On 7 Apr 2005 at 15:18, Arthur Fuller wrote:
>
>  
>
>>I have a form called frmEventSelector, to which I pass the name of the 
>>report or form I want to run. The Event selector contains a combo that 
>>sets the EventID I want. Then I examine the name of the OpenArgs 
>>argument. Code in the form looks at the prefix, and if it's frm it runs 
>>the form; if it's rpt it runs the form, and if it's qry it runs the query.
>>
>>How can I let this form know that I want to run a given form in 
>>DataSheet mode? Even though I set its default mode to DS, it doesn't 
>>seem to help.
>>
>>    
>>
>
>Pass the form name as "ds" & frmMyForm.name(for DataSheet) or "fv" & 
>frmMyForm.name (for FormView). Then parse OpenArgs for these characters as 
>well.
>
>
>
>
> -- 
>Stuart
>
>
>  
>


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.4 - Release Date: 4/6/2005




More information about the AccessD mailing list