Search results

  1. Calvin

    ID Primary Key in existing TableDef

    nevermind CurrentDb.TableDefs(sTableName).Indexes(iCtr).Fields where CurrentDb.TableDefs(sTableName).Indexes(iCtr).Primary = True
  2. Calvin

    ID Primary Key in existing TableDef

    I need to figure out how to ID the Primary Key in an existing TableDef through code. Anyone have any Idea's?
  3. Calvin

    multiple users

    You should change your Record Locking from "No Locks" to "Edited Record" in a shared environment. But more than changing the default mode, you will have to go back into every form and change it cuz, changing the default only works going forward. Also have you distributed the front end to each...
  4. Calvin

    Empty Query Test? & AutoNumber Test?

    use a dlookup method to count the number of records in your query, if the record count is 0 then don't open the form. Search this forum and Access Help files for info on Dlookup.
  5. Calvin

    If DLookup IsNull - Help Needed

    If you think it may solve your problem then go ahead and try, don't let us stop you.
  6. Calvin

    Need a little help

    If I followed your message right, you should be able to do what you want but I can't envision where to start, can you export the four forms and some related data to another mdb and zip it up and upload it?
  7. Calvin

    Automation Error

    Look into how you have your Relationships configued, you may have "Enforce Referential Integrity" enabled and if your subtables don't have related records, you get an error.
  8. Calvin

    Input mask problem with continuous form

    The text box in the Details section on a Continuous form will repeat/copy down for each record, thus copying all of it properties, so when you change the input mask of the text box it will apply it all down the page for every single record. Now, if you are using Access 2000 or later you can...
  9. Calvin

    GIS and Access

    your probably better off at the following forum: http://www.vbdesign.net/index.php it deals a gread deal with AutoCadd, GIS, ESRI, MapInfo, MapMarker, MapBasic, and quite a bit about Importing/Exporting GIS and design data in and out of Access. Look for a user named CornBread, he's great.
  10. Calvin

    Command and pass value to Acces from Excel

    probably not but you can probably solve this simply enough. Start by adding a new table to your access database with two fields in it, one being a unique id field that you populate with a "1" and the second being the field that you insert/store the value that you aquire from you Excel input box...
  11. Calvin

    Access 97 project will not run

    Since your opening a 97 mdb in 2002 there could be any number of problems, you need to install Access 97 and open it with that to see if there is any real problems, other than version differences. goto MSDN and look up changes between 97 and 2000. If you convert the 97 to 2000 or 2002 you will...
  12. Calvin

    Msgbox to include textbox value

    msgbox "The project number is " & me.Text1, vbokonly,"Message Title"
  13. Calvin

    Form in foreground question

    In design mode, set the second forms POPUP property to yes/true and it will always be ontop even though you've gone back and given the main form the focus.
  14. Calvin

    multiple users

    You need to look into record locking and look up multiple users in this forum as well as in Access's help files. If your process is working with lots of data you may need to consider splitting the database into a front-end and back-end.
  15. Calvin

    If DLookup IsNull - Help Needed

    It sounds like you have dual criteria for executing what you want to do without an example of your code it's hard to offer advice. What trigger method are you using for executing the function. Can you upload a copy of the form/code and related tables that your working with?
  16. Calvin

    Filter Form Open In Macro

    you may also try replacing Forms![frmFilter]![txtMaximumPrice] with Forms![frmFilter].txtMaximumPrice since your refering to a control and not a memory reference.
  17. Calvin

    Filter Form Open In Macro

    Sorry, for the delay, just enjoying the weekend. Hmm... Not sure what the problem would be, can you export the two forms and related table to another MDB and upload it so I may have a look?
  18. Calvin

    Filter Form Open In Macro

    you need to move/copy your code to the target forms OnOpen or OnLoad events and then set the forms RecordSource property equal to the SQL statment and you should be golden Private Sub cmdFilter_Click() Dim stDocName As String Dim stLinkCriteria As String Dim Result As Integer Dim...
  19. Calvin

    Accessing a SQL Server database from DAO

    you need to dig into your sql server documentation and write a DTS package or store proc that does all of this for you or a combo of both, only you can figure out which is best for your process, and either can be triggered from an ASP page.
  20. Calvin

    If DLookup IsNull - Help Needed

    you can use the NZ function to trap for Dlookup returning null string = Nz(dlookup(),"") then check to see if the returned value is "" and use an inputbox to have the user enter the neccessary value.
Back
Top Bottom