Module or query

S

Striker

Can anyone point me to a simply module that handles executing a SQL
statement, then populating a form with the results?

I'm finding VBA for Access2007 very different from when I learned VBA 6
years ago.

I'm wondering if there is any advantage in pre-defining queries, as the
person before me did. Or is it better to place the code in a module and
execute it on command. Then pop the date into a form. At least this way I
can do some error checking and validation before updates are made.

Do these sound like an Access Newbie questions?

Thanks
 
B

Beetle

It depends somewhat on what you're doing. In some cases
it might be better to have a stored query, other cases it might
be better run SQL in VBA.

Can you give us some more info about what exactly you
are trying to accomplish?

_________

Sean Bailey
 

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

Similar Threads


Top