[AccessD] vbTrue vbFalse

Darryl Collins darryl at whittleconsulting.com.au
Sun Jun 19 18:18:27 CDT 2016


Yes... This is how I have used them.

In the specific case of say a customer form where you prefill out as much of the detail as possible based on either the most common / likely response or known customer information / preferences.

So you might have a set or check boxes or radio buttons that you pre populate with code using 

Me.chkbxMailMe = vbtrue
Me.chkbxWeeklyUpdate = vbfalse

Blah blah..

Cheers
Darryl

-----Original Message-----
From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan
Sent: 18 June, 2016 8:32 AM
To: Access Developers discussion and problem solving
Subject: Re: [AccessD] vbTrue vbFalse

They are intended for use whereever there is a tri-state possibility (i.e. true/false/not stated).

Commonly used with TriState checkboxes and various Format functions.
  

And they are not new - they're described in the Getz/Gilbert VBA Handbook (circa 2000)


On 17 Jun 2016 at 18:52, Gustav Brock wrote:

> Hi all
> 
> I discovered these new constants:
> 
> https://msdn.microsoft.com/en-us/library/office/gg278431(v=office.15).
> aspx
> 
> There is also a vbUseDefault.
> 
> Where/how would you use those?
> 
> /gustav
> -- 
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
> 


-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com



More information about the AccessD mailing list