Recent content by kaspi

  1. K

    references in access 2000 runtime

    If your are using the package and deployment wizard (as I presume you do) the COM components get registered on the client machine automatically (no matter what your configuration is). You can set the installation location of you libraries in one of the wizard's dialogue boxes. Well, what I am...
  2. K

    Blocking Replace-tab of Find & Replace

    Hi Bert You could look up help for KeyPress Event of the form. Do not forget to set KeyPreview of the form to True. Basicly you should minitor the values in the KeyPress event and then respond by cancelling in KeyPress event. Hope it helps Kaspi
  3. K

    User Defined Table Creation

    Hi John You can create table at runtime. You have several options: 1. You can use SQL - check CREATE TABLE statement 2. You can use DAO - check CreateTableDef method 3. You can use ADO (ADOX - Microsoft ADO Extensions 2.1 for DDL and security) Kaspi
  4. K

    Add data programatically?

    Hi Werner Why do you need to replicate the records? You replication seems to be a bit unusual. Kaspi
  5. K

    Question!!!!!!

    currentdb - a pointer to your database (write as you see) strMyQuery - your SQL statement (string) - substitute it with your SQL dbReadOnly - constant (write as you see),agument of the recordset open method
  6. K

    I Can't Tag

    Hi Chackster You can try smt like: Public Sub test_text() Dim ctl As Access.Control For Each ctl In Me.Controls If TypeOf ctl Is Access.TextBox Then If ctl.Tag = "tagRowTotal" Then ctl.Visible = CBool(ctl.Value) End If End If Next txt End Sub kaspi
  7. K

    Varible field name

    Hi Chackster I assume that your fields are bound to controls on you form. If that is the case you could use something similar to: For i = 1 to No_Of_Fields if blah then me.controls("a"&i).visible = false next i Hope it helps Kaspi
  8. K

    Progress Meters

    Hi Ian You could check the help for: SysCmd(acSysCmdInitMeter, "Some text ...", iniVal) SysCmd(acSysCmdUpdateMeter, someValue) SysCmd(acSysCmdRemoveMeter) If you check the forum couple of weeks back someone posted a custum solution using label control. Hope it helps. kaspi
  9. K

    On Close Event

    Hi Mike Try something like this Public Sub Test_OnClick(rpt_name As String) Reports(rpt_name).OnClose = "Run_This_Macro" End Sub kaspi
  10. K

    Code for Linked Tables Contained in a Secured Folder

    Hi Rob I do not think that you need to add any code to the database fe. The access is governed by the system log on. As long as the user has access to the shared folder on the server your linked tables should work. kaspi
  11. K

    SQL Statement INSERT INTO in Access2000 and XP

    I would try to use goup by clause to get rid of duplicates in your SQL statement.
  12. K

    Creating an "Installer"

    If you wand only to copy files you could look into writing batch file (.bat).
  13. K

    Code

    Try to convert the textboxes into the appropriate data type. txtTotal.value = 154 + (clng(txtStops.value) - 1) * 10 + txtAddExpense + clng(txtMileageCharge.value) + (clng(txtMiles_RT.value) * 0.0697) Else txtTotal.value = clng(txtMileRate.value) * (clng(txtPounds.value) / 2000) +...
  14. K

    Getting debug statement

    I don't think that there is a simple way to retrive the name of the procedure and the name of the module. I wouldn't see it as a big problem passing the name as a parameter to your Function or Sub.
  15. K

    check boxes

    Hi Pat I fully agree what you are saying in regards to the way how the data should be stored. I just would like to bring up that neither of our solutions fully addressed the problem of the comma. Just imagine that the first check box is not checked (you would get something like ",2,3"). I...
Back
Top Bottom