Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Russie
  • Content: Threads
  • Order by date
  1. Russie

    'Has Module' Hiding forms

    Hi. I have a form that calls other forms, when it does this the other forms open behind my main form. I believe this to be to do with the 'Has Module' flag being set to 'yes' in the 'Other' tab of the properties window. Has anyone experienced this before? I've copied the form code sidewards...
  2. Russie

    Combo displaying info from multiple tables

    Hi. Is it possible for a combo box to display columns from more than one table? Thanks.
  3. Russie

    1 To 1 Relationship Edit Problem

    Hi. I have tblInitialRiskAssessment linked in a 1:1 relationship with tblControlledRiskAssessment. I've created an edit form for tblInitialRiskAssessment but because it's linked to tblControlledRiskAssessment it won't let me save. I'm not changing any primary data, i'm only trying to edit...
  4. Russie

    Form to load showing all fields blank

    Hi. This is probably a simple question but... When you have a form with a combo box on it that selects records how do you make all of the fields on the form display no data until a record is selected? Thanks. Russie
  5. Russie

    Testing for a record

    Hi. I'm using the below code to test for the presence of a record in tblControlledRiskAssessment: Dim db As Database Dim rs As Recordset Set db = CurrentDb Set rs = db.OpenRecordset("tblControlledRiskAssessment") If rs.EOF = True Then MsgBox ("empty") Else rs.FindFirst...
  6. Russie

    Change Form Attributes

    Hi. I have a form that is referenced by the RiskID ID variable when it boots. Some of the form header information is generated by using DLookup's. I have 2 indicators on my form that I would like to change the background attributes when the form loads. The attribute will depend on a value that...
  7. Russie

    DLookup through 2 linked tables

    Hi. I have three tables. 1. tblSummaryBudget 2. tblInitialRiskAssessment 3. tblImpactScoresFinancial On the summary budget form I have the RiskID field looking up from table 2 (tblInitialRiskAssessment). Is DLookup able to query tblInitialRiskAssessment for a ImpactFinancial value (an...
  8. Russie

    Risk Matrix Indicator

    Hi. I'm developing a risk management program. I have a matrix of possible gradings, on the x axis is 'consequence' ranging from 'Insignificant' to 'Catastrophic' and on the y axis there is likelihood ranging from 'rare' to 'almost certain'. There are 25 boxes in the matrix (5 Likelihood *5...
  9. Russie

    Split Excel Cell String

    Hi. I have a column in Excel which contains names in the following format: BLOGGS, Joe I would like to be able to split this list of names into two columns i.e. A B BLOGGS Joe Is this possible with the use of some code? Thanks. Russie
  10. Russie

    Calling Sub In 'Visable=False' Form

    Hi. Does anyone know how I can call a sub in formB from formA? formB posts a journal, formA reconciles...I would like to be able to call sub ' reconcile(strReg) ' from formB. A star as usual for any workable answer. Many Thanks. Russie
  11. Russie

    Tabular Form Record Source

    Hi. I have a tabular sub-form that is requeried when a routine is run. Is there anyway that I can have a dynamic record source for my sub-form...i.e. if condition = true then strSQL=x and if condition = false Then strSQL = Y. I'm refreshing the sub form using Me.subform.Requery. Is there any...
  12. Russie

    View CSV file from VBA

    Hi. I can do practically anything with a CSV file from VBA apart from to simply open it for viewing. Does anyone know how to view a CSV file from VBA code? A star for a correct answer. Thanks. Russie
  13. Russie

    Importing data from Excel to Access - Non Named Ranges

    [ Already Posted on the Access VBA Forum ] Hi. I have a database that, on a monthly basis, can import anything from 8000 to 40000 records from excel into access. I can easily set up an import that deals with named ranges. My problem is how to import using non-named ranges, i.e. to get Access...
  14. Russie

    Import From Excel To Access - Non-Named Ranges

    Hi. I have a database that, on a monthly basis, can import anything from 8000 to 40000 records from excel into access. I can easily set up an import that deals with named ranges. My problem is how to import using non-named ranges, i.e. to get Access to somehow count the row that have data in...
  15. Russie

    Assign Form Values From Table

    Hi. I have a cashbook balance (tbl_CBBalance) table set up like so: Region CB_Balance A 10 B 17 C 9 D etc.. I have a form with text box controls on it named so: txtABalance txtBBalance tctCBalance What I would like to do is to read the values from tbl_CBBalance into...
  16. Russie

    Querydef - multiple parameter

    Hi. I'm using queryDef to run a query. 'Retrieve DailyTrans Set qrydef = db.QueryDefs("2_DailyTrans") qrydef("Region") = strRegionParam qrydef("StartDate") = startDate qrydef.Execute When I use strRegionParam = "D Or 51" the return is null when I use...
  17. Russie

    Query To Append To Multiple Tables

    Hi. I have a set of Access queries that extract data from SQL Server. These queries are using linked tables which i find faster than creating a connection object and reading in each line of the recordset into Access seperately. My question: Is there anyway to pass the 'table to be appended...
  18. Russie

    Running SQL Queries

    Hi. I have 10 standard SQL Queries to run for 10 regions and I would like to pass the regional variable to the SQL string to do this. What is the best way to run 10 SQL Queries, one after another, in code? I've been using... Set conDatabase = CurrentProject.Connection strSQL = " [...
  19. Russie

    Region-Based ethodology

    Hi. I have written a db that reconciles the Sales Ledger for 10 regions. The reconciliation process uses 10 standard queries per region. The types of queries used are Append and Update queries. Is there anyway to only use one set of queries for all regions, by passing the regional specific...
  20. Russie

    Referencing Form Text Boxes

    Hi. I have a list of text boxes with similar names: txtAvalue txtBvalue txtCvalue I'm using code to run queries and perform calculations. Currently I have to refer to the form text boxes as: [Forms]![frmtest].txtAValue.value = x [Forms]![frmtest].txtBValue.value = y What I want to do is to...

Part and Inventory Search

Back
Top