Solved

stdDataFormat

Posted on 2001-06-21
4
344 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 50

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 50

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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

831 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