Search results

  1. C

    Security settings issue

    Hi - My work computer has just been migrated to a new network and as such path to my desktop has changed because may network login name has changed. That said, I have an access database on my desktop (dev environment) and now that the path has changed the link between my front end and the DB...
  2. C

    Pass parameter to sub report

    Fantastic idea...works perfect now. Thanks!
  3. C

    Pass parameter to sub report

    Hi - I have a report that has a subreport embeded in it. There is a work order field in the main report and in the sub report, so they are my master and child links. The main report list costs associated to work orders related to vender invoices, where as the subreport list costs...
  4. C

    Connect to secure access db using .mdw file

    Hi - How do I use Crystal XI to connect to a secure Access DB using the .mdw file? I know how to use access to connect to it obviously, but can't figure out how to do it with Crystal. Thanks!
  5. C

    Compact & repair problem

    Hi - Recently a user asked me to delete a record from our database (through the back end, the database is split and password protected) which I've done many times with no problems. However this time, the result is a record that has #DELETE written in each field of the record and I am not able...
  6. C

    Combobox

    Your example works well, assuming the user has to chose a state first. However, in my situation I the user can run the report only by 1 sector, or 1 city or 1 customer. Or they can chose 1 customer then chose a city that the customer has service in. The only way I can see this happening would...
  7. C

    Combobox

    Hi - I've created a form to manage the passing of paramaters onto a report. I've got three comboboxes on the form: Customer # Sector (Enterprise, Public or Carrier) Region (Cities) These comboboxes are tied to tables and then selections are then passed into the query as paramaters. Also...
  8. C

    Lock down records

    Now we're talking! Private Sub Combo39_Enter() If Me.Status = "Verified" Then Dim pass As String pass = InputBox("Record locked, please enter password") If pass <> "Welcome2" Then MsgBox ("Invalid Password") Exit Sub Else Me.AllowEdits = True...
  9. C

    Lock down records

    You are bang on! What was throwing me off is that when you enter the data for the sub-subform the little drop down box that normally pops up doesn't but you can still enter code. Now it looks like this: Private Sub Form_Current() Me.Service_Addresss_Details.Enabled = False If Me.Combo39 =...
  10. C

    Lock down records

    Hi Guys - For the time being I'm not going to worry about allowing the users to "UNVERIFY" once it's been verified. So, this is what I've done do far: Private Sub Form_Current() If Me.Combo39 = "Verified" Then Me.AllowEdits = False Me.Service_Addresss_Details.Form.AllowEdits = False...
  11. C

    Help with expression builder

    Ok, thanks for the tip.
  12. C

    Help with expression builder

    Got it: Public Function Original_Term_Renewal(Renewal_Type As String, End_Date As Date, Term As Integer) Dim Multiplier As Integer Dim Offset As Integer Dim Expiry_Date_Temp As Date Multiplier = 0 Expiry_Date_Temp = End_Date While (DateDiff("d", Date, Expiry_Date_Temp) < 0) Multiplier =...
  13. C

    Help with expression builder

    Okay, I did some "googling" and I think I understand what you mean by making my own function. You mean in VBA I create a new module? If so, how do I reference my database fields?
  14. C

    Help with expression builder

    I presume you mean using VBA on the report side? I tried taht but couldn't figure out how to place the vba code onto the texbox on the report. Where do I enter it, on an event? If so which one?
  15. C

    Help with expression builder

    Here is the purpose of the code. If a contract expires on Dec 31, 2008 and the original term was 1 yr and the renewal terms of the agreement are that the contract will auto renew for the same term as the original contract (in this case 1 year, but it could be 3 yrs or 6 months). So my report...
  16. C

    Help with expression builder

    No, I go into the expression builder of the field I want to edit. Past the code. Hit Ok. That brings me back to the query builder. I then go back into the expression builder of the field I just changed and the new code isn't there, it still has the old code in it.
  17. C

    Help with expression builder

    Hi - I tested the following code and it works great. Original Term: IIf([Contract Not Expired]=0 And [Contract Details]![Renewal Term]="Original Term" And DateDiff("d",Date(),DateAdd("m",[Contract Details]![Term],[Service Details]![End Date]))>0,DateDiff("d",Date(),DateAdd("m",[Contract...
  18. C

    Lock down records

    This is definite progress in the right directions; however there are now 2 issues: 1 - If the status is "verified" on the contract details, I cannot edit the information on the contract details (great), but it still allows me to edit the Child forms of that verified contract. IE: Service...
  19. C

    Lock down records

    Attached is a screenshot of the form. As you can see at the top there is the customer information, then the contract details that has the status field in it. Each customer can have multiple contracts, some verified some not. The users use the arrow buttons to scroll through the different...
  20. C

    Lock down records

    When I type Me.Status. the only option after this that comes up is VALUE. I'm getting the following Compile Error: Method or data member not found.
Top Bottom