Solved

stdDataFormat

Posted on 2001-06-21
4
341 Views
Last Modified: 2011-10-03
Hi All,

Can anyone tell me how to use this function in VB, and also, can anyone post a simple coding for this functions?

Thanks
0
Comment
Question by:kchoed
  • 2
  • 2
4 Comments
 
LVL 2

Accepted Solution

by:
Microsoft earned 100 total points
ID: 6213414
have a look at this :-


object.Format = formatstring

The Format property syntax has these parts

object expression
An expression that specifies a particular object and can include any of the object's containers. For example, an application can have an Application object that contains a Document object that contains a Text object

expression
A combination of keywords, operators, variables, and constants that yields a string, number, or object. An expression can be used to perform a calculation, manipulate characters, or test data.

The StdDataFormat object is an integral part of data binding. It is created for any bound control, regardless of whether you create one in code


or have a look at this link
http://msdn.microsoft.com/library/devprods/vs6/vbasic/vb98/vbproformatprpty.htm


hope this helps

cheers

Andy
0
 
LVL 49

Expert Comment

by:Ryan Chong
ID: 6213443
0
 
LVL 2

Expert Comment

by:Microsoft
ID: 6214600
ryancys link shows exactly the same information my link does,



cheers
Andy
0
 
LVL 49

Expert Comment

by:Ryan Chong
ID: 6216605
ya, similar topic. Sorry 'bout that bcos i just post it without refresh this page.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now