PC Review


Reply
Thread Tools Rate Thread

! With Statement !

 
 
Wembly
Guest
Posts: n/a
 
      10th Nov 2003
Hi,

I was wondering if the following can be done?



With currentForm
!currentControl = Format(Me.acxCalendar, "Short Date")
End With
 
Reply With Quote
 
 
 
 
Dirk Goldgar
Guest
Posts: n/a
 
      10th Nov 2003
"Wembly" <(E-Mail Removed)> wrote in message
news:044101c3a74c$7b860680$(E-Mail Removed)
> Hi,
>
> I was wondering if the following can be done?
>
>
>
> With currentForm
> !currentControl = Format(Me.acxCalendar, "Short Date")
> End With


What do you mean by "currentForm" and "currentControl"? If you mean the
form and control that currently have the focus, you could write the same
thing with

Screen.ActiveControl = Format(Me.acxCalendar, "Short Date")

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)


 
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
Reconcile Bank statement & Credit card statement & accounting data Bklynhyc Microsoft Excel Worksheet Functions 0 7th Oct 2009 10:07 PM
select statement into if statement in an event code (syntax error =?Utf-8?B?dG90YQ==?= Microsoft Access VBA Modules 1 12th Dec 2004 12:13 PM
Dlookup function in a SQL Statement giving Error Expected: End of Statement Edward S Microsoft Access 1 19th May 2004 03:41 AM
Dlookup function in a SQL Statement giving Error Expected: End of Statement Edward S Microsoft Access 1 17th May 2004 09:34 PM
How to chart a profit & loss statement/Profitability analysis statement in Excel Charts Belinda Microsoft Excel Charting 3 3rd May 2004 10:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:55 PM.