Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Is there a Convert() Function in Access like the one in MSSQL

Posted on 2004-03-31
1
Medium Priority
?
460 Views
Last Modified: 2008-02-20
In MSSQL, you can easily convert in an sql statement by using Convert()... (example: CONVERT(bit, EmployeeID))

is there a way of doing this in access?!?  if so, how?  

Thanks!
0
Comment
Question by:magicmike
1 Comment
 
LVL 19

Accepted Solution

by:
david251 earned 500 total points
ID: 10726768
You can use the Conversion funtions like
CBool(expression)
CByte(expression)
CCur(expression)
CDate(expression)
CDbl(expression)
CDec(expression)
CInt(expression)
CLng(expression)
CSng(expression)
CStr(expression)
CVar(expression)

Check the access doumentation for limitations.

-David251

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
In a use case, a user needs to close an opened report by simply pressing the Escape (Esc) key. This can be done by adding macro code in Report_KeyPress or Report_KeyDown event.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

783 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