VBA currentdb

R

Roy

Hey all,

I'm porting an Access app written in VBA over to C#, but I'm starting
the process by first converting it to VB. I'm curious if anyone could
give me a VB code block that is equivalent to what is below. I do not
get what the CurrentDb command is "doing" in VB terminology.

CurrentDb.OpenRecordset("SomeAccessTable")

TIA
 
R

RDA

I have read that page already, I just can't believe there's no VB code
block that shows what this is doing, programmatically. There's some
key thing I'm missing here. Is CurrentDb returning a datatable? A
dataset? The ENTIRE database?
 
C

Cor Ligthert[MVP]

Patrice,

For your knowledge

This message was send by Roy to the C# newsgroup about 8 minutes before his
first message in the VB.Net newsgroup.
I'm porting an Access app written in VBA over to C#. I'm curious if
anyone could give me a code block that is equivalent to what is below.
I do not get what the CurrentDb command is "doing" in C# terminology.
CurrentDb.OpenRecordset("SomeAccessTable")

It was only missing this sentence he has send to us:
but I'm starting the process by first converting it to VB.

:)

Cor
 
R

RDA

Speaking of which, I responded to you over in the C# group Cor. Sorry
for the double-posting, but I'm casting about, looking for a solution.
I'm sure this will all be obvious to me once the cork of confusion
pops, but right now I'm missing somethng.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top