Recent content by marnieg

  1. M

    Same form two different records

    My client wants to be able to have a form open with a record, then open the same form with a different record. In all my experience I have not had this request or seen it done. I assume I could have a different form to open the second record. Can anyone confirm my assumption? The situation is...
  2. M

    Switchboard error

    It is using the Switchboard manager and all users are accessing the same db. When the application opens they have the ability to see all the object types. When they get the error and click OK, it only shows the linked tables and queries. The objects for FORMS and REPORTS are missing. The...
  3. M

    Switchboard error

    I am using Access 2007. I have had an application running now for about 1 year and now getting an error when user opens the database. (Have one for front end and one db for backend) Here's the error message: The form name Switchboard is misspelled or refers to a form that doesn't exist...
  4. M

    Form not opening with correct record

    Thanks for the code examples. That worked!
  5. M

    setting fields on form from previous form

    I have a form with two fields, street number and street name. If the combination of the two does not exist on a current record I want to open the form with these values already set on the form. Here is the code I have, but get error on highlighted row. The Contacts form is used for adding and...
  6. M

    Form not opening with correct record

    I have a multi-record browse form. On each record displayed I have a button that selects the record to open to more detail using code strLinkCriteria = Me.ID DoCmd.OpenForm "Contacts", , , strLinkCriteria Where the ID is the key to the table. My detail form "contacts" always comes open with...
  7. M

    VB Error on method "openconnection"

    I know the connection string is correct because I can access the database from other PCs. The only difference is that this adp file sits on the Terminal server that users are accessing. How does Terminal Server using Windows Authentication differ from desktop? I will check the file size on the...
  8. M

    VB Error on method "openconnection"

    I have a project that is an adp connected to sql server 2008. Most users have the adp file on their local machine which then connects to the database on the server using windows authentication. The client then wanted to put the adp file on a terminal server to allow access from outside the...
  9. M

    User nulling numeric field using space bar

    Yes decided to use the NZ function on my updates that use this field in the calculations.
  10. M

    User nulling numeric field using space bar

    I have a numeric field on a form and the database definition is that the default is 0. When the user is on the form and hits the space bar to clear the field it sets the database value to null instead of 0, which then causes issues when I try to do calculations on other fields using this field...
  11. M

    Copy record into same table

    Yest this works if you Enabled=yes and Locked=no, BUT I don't want the user to click in the field and update it. Is there another property setting I should set?
  12. M

    Send parameter to Macro from VB

    Was able to add TransferText function to VB code so don't need Macro. Thanks, Marnie
  13. M

    Send parameter to Macro from VB

    I can't create a save spec for my file layout because it is an ADP file not a MDB. When I try to create one on the Import/Export Wizard the option to save the spec is greyed out. On my macro I'm just leaving the spec blank. Don't know if I can leave it blank in the VB code. Will try Thanks, Marnie
  14. M

    Send parameter to Macro from VB

    I have a macro that imports data using the TransferText Action. I want to pass the "File Name" from my VB code as a parameter. Currently having to hard code the file name in the macro, but want to pass it as a parameter. Here is my code for running the macro. DoCmd.RunMacro "importlead" I...
  15. M

    Parsing .tsv file into table using VBA

    I am trying a similar task for reading in a .csv. I have an .adp file and when I try to import the csv using the "Get External Data" Import Wizard it will NOT allow me to create a SPEC. Is this because I have SQL backend? The option to save the spec is greyed out. Thanks for any help. I am...
Back
Top Bottom