Re: Append Filtered records to table

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"nunyez" <nunyez@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:87F0DEF1-1912-4C07-B542-6D36A62E9326@xxxxxxxxxxxxxxxx
Well I am building a data dictionary in access based on the fields
contained
in our Oracle databases. So I am creating a form that compares the Oracle
vs. Access tables and having a button to import if they don't exist in the
datadictionary yet. So, three questions:

1. Do you suggest having an query query built using the queries tab on
the
DB or build the query in the VB code?

If I'm updating tables once, I usually use queries. If I'm building
something for users to use on a continuous basis, I use VBA code with an SQL
statement (instead of walking recordsets, which is much slower)

2. I can access my subform sheets .Recordset property, is that not full
already with the filtered results or do I have to build it somehow? If
needs
bult, pointing me to a reference would be appreciated.

It exists, but it is subclassed, so you need to change how you refer to it
depending upon where you are. Form inside the subform, use the same syntax
as you would use with a form, but from the main form, or from another form
use:

[Forms]![MainFormName]![SubformControlName].Form.PropertyName

[Forms]![MainFormName]![SubformControlName].Form![NameOfControlOnSubform]

Also, i'm not sure if you are familiar with access/oracle but I was trying
to have a query that used the ODBC connection to pull a query from my
oracle
so that its always up to date. I can get it to work but when incorporated
into the subform it prompts to select for the DNS connection profile about
4
times before the form displays and sometimes it will prompt in the middle
of
viewing the form and connection fails.
3. I guess my question for this is if you can tie a DNS profile to a
query
so that it won't prompt the user and make the connections behind the scene
persay?

I much prefer SQL-Server. In fact I hate working with Oracle so much so that
I've refused contracts since 1998. That said, ODBC connections with either
should be similar. With SQL-Server, I use integrated (with Windows)
security, but you can also use separate ODBC connections to link to all the
tables that you plan to use. Once doing that (at startup) you should not be
reprompted for your credentials.
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com


.



Relevant Pages

  • Re: Views - performance
    ... when u use stored object views oracle has to read the data dictionary ... this includes lots of steps for execution ... semantics of the query and fires it ... you'll possibly have any idea is to use explain plan to provide a base ...
    (comp.databases.oracle.server)
  • RE: DBI-1.48 bind_param_inout produces ORA-01461 colliding with a CLOB
    ... can pass strings as varchar's and have them inserted ... In theory I could write something to query the ... CLOB w/in Oracle is probably what is killing me... ...
    (perl.dbi.users)
  • Re: Equilevant of Oracle for optional records
    ... this query is done, then flatten the result? ... example, the Iqaluit Trauma: ... Oracle handles this data structure perfectly but I suspect it might be ...
    (microsoft.public.access.queries)
  • Re: Updatable ... not
    ... I have code in the front-end that imports data from csv files into ... The back-end also links to Oracle tables for data matching and ... work on data in the Oracle table. ... I built a new query, just like the original query, and no, I still ...
    (microsoft.public.access.modulesdaovba)
  • Re: Equilevant of Oracle for optional records
    ... and a normalized t2 could be more useful, to build the query, and once this ... the Iqaluit Trauma: ... Oracle handles this data structure perfectly but I suspect it might be ...
    (microsoft.public.access.queries)