Search results

  1. J

    Totals and subtotals

    JZWP22, I do have an unbound field on the form with that calculation. The issue is it does NOT do the calculation until the record is written back to the database. I need/want the calcuation to be done as the user enters information into each of the fields. This provides the user with the...
  2. J

    Totals and subtotals

    I understand what you're saying about the relationships and if I designed the application, that's how I would have done it. The problem is that I have to maintain/update the existing processes. A Project can exist without a Building. For a Building, the fields exist: GenCon, SitePrep, Roof...
  3. J

    Totals and subtotals

    JZWP22, I'll see if I can be more specific. My table includes the following fields: Project, Bldg, GenCon, SitePrep, Roof, HVAC, Plumb The key to the table is Project The user enters the Project Number and all associated Bldg information is displayed. There can be zero records for the...
  4. J

    Totals and subtotals

    I have a slightly different issue but I think this is the proper thread for the post. I have a form bound to a table. The table has a primary key of Project and Bldg. The table has the following fields: Project Bldg GenCon% SitePrep% Roof% HVAC% Plumb% The user enters the Project Number and...
  5. J

    Variable length forms

    Let’s see if I can explain my issue in more detail. I have a form bound to a table. The table has a primary key of Project and Bldg. The table has the following fields: Project Bldg GenCon% SitePrep% Roof% HVAC% Plumb% The user enters the Project Number and all associated...
  6. J

    Variable length forms

    Misinglinq, thanks for the reply. I guess I don't know enough about MSAccess to be able to do what the user wants when the table is bound to the form. I'm finding it easier but yet more time consuming to actually write the VB code. For example: Bldg Pct1 Pct2 Pct3 Pct4 Pct5 are the...
  7. J

    Variable length forms

    Adam, Thanks. What I meant by 'grow' is that there can be 0 records in the table for that specific Project or there can be 50+ records for that Project. The record count grows not the record attributes. I thought about a continuous form but without the form being bound to the table, how are...
  8. J

    Variable length forms

    I need to be able to display 1 to N records from a table as well as add/update them to the same table. Here’s my story. I have a table. The key is Project and Building. The attributes are several (10) different percentages. The user wants to be able to enter the Project number and display...
  9. J

    Date Verification

    I apologize if this has been posted in a prior thread but I cannot seem to find what I’m looking for so I’ll ask via a new thread. I need a date validation routine that will determine if the date entered is in the proper format. I have several unbound fields on my form and the dates are in...
  10. J

    OVERFLOW during calculations

    NEVER MIND. I tried changing my program's DIM statements to be Double instead of Long and that appears to have worked. Not sure what all the differences are but the data now seems to be correct.
  11. J

    OVERFLOW during calculations

    I need a little more help in this area: On the table my fields are classified as 'Double'. Within my program I have them defined as 'Long'. The issue now is when I calculate the result by taking the table field * 100, everything works well until I reach a table fields that is 99999999 or...
  12. J

    OVERFLOW during calculations

    DCRAKE, Thanks for the quick reply. That got me around the overflow issue but now it changed my record formats. Before changing the fields to 'Long', the formats were what I needed to match the next program. Since I changed to 'Long' my record length is now shorter than before. Solve one...
  13. J

    OVERFLOW during calculations

    I am trying to multiple a datbase integer by 100 and I get a dialog box that all it says is overflow. When I take the * 100 off the format, everything works fine but the number is not correct. My statement is as follows: MyQualcost = IIf(IsNull(MyTable![Qualcost]), zeroes...
  14. J

    Linking to tables outside of MSAccess

    I am linking to an ORACLE table and to do this I have set-up an ODBC link which is secured by an ID and Password. I am doing this so that I do not have to duplicate the data from another application into my MSAccess application. The issue I am having is that when I go to run my forms and/or...
  15. J

    Extracting specific positions for a field within a query

    Thanks for the quick reponse and information. I used the suggestions and the tutorials and figured out I could use the mid command: ProjCampus: ((Mid([Proj],2,2))) This got me what I needed. Thanks again.
  16. J

    Extracting specific positions for a field within a query

    I have a 6 character field. For some reason the person who created this field decided to combine 3 unique fields into one field. I now need to extract the middle field so that it can be joined to another table. Here is the senerio: The Field is Project and it contains 6 characters - 123456...
  17. J

    How do I display Query parameters on a Report?

    Not sure of the syntax. I am creating report xyz and the query that I am using is abc. The query's sql is: SELECT FA1MAIN.Proj, FA1MAIN.AnalDate, FA1MAIN.Analcost, FA1MAIN.Qualcost, FA1MAIN.Qual_non_rf, FA1MAIN.Attach_Interest, FA2ANAL.Construction_cost, FA2ANAL.Design_cost...
  18. J

    How do I display Query parameters on a Report?

    I have created a report using a Query as the record source. Within the query, the user must enter a 'start date' and 'end date'. The query executes and the report displays the proper data. The user now wants the 'start date' and 'end date' to display in the report heading. How do I do this...
  19. J

    Displaying data on a form and multiple sub-forms

    EZFRIEND, Thanks for the advise. I'm obviously doing something wrong in the statement. I am now getting the MicroSoft error message "Object Required"
  20. J

    Displaying data on a form and multiple sub-forms

    I apologize if this subject has been answered in another forum. I am new to this web forum but not new to programming. I’ve programmed for 20+ years but rarely in MSAccess and VB. A little background: I have a main form (ProjectInq) with two sub-forms (BldgInq and CatInq). All fields are unbound...
Back
Top Bottom