Search results

  1. B

    Password protected db

    Reported SPAM Signature for donnaj8887
  2. B

    quick SQL question

    NigelShaw, If both the source and target tables are in the SQL Server Database, why not simply execute a single Pass-Through Query? Example: oConnection1.Execute "INSERT INTO MyNewTableName (fldCellPhone, fldFirstName, fldLastName, fldTotalVisits, fldLastVisit, fldFirstEmployeeName)" _ & "...
  3. B

    quick SQL question

    Hello, NigelShaw, To create a table in an SQL Server database and populate the data, see my post here. Also, to determine whether a table exists in the SQL Server Database, try the following SQL syntax (substitute highlighted text with actual database/table names): SELECT * FROM...
  4. B

    Calling a dialog form with HTML control that returns OK/Cancel

    You're very welcome, I'm glad it worked for you :)
  5. B

    problem genarating a report

    Yes, your JOBS table is INNER JOIN-ed to your MATERIALS table. You need to change this to a LEFT JOIN (ex. FROM [Jobs] LEFT JOIN [Materials]).
  6. B

    Calling a dialog form with HTML control that returns OK/Cancel

    In your module, you might have code like this: Option Explicit Public frmCode As String Public Function frmCodeGet() As String DoCmd.OpenForm "MyForm", , , , , acDialog frmCodeGet = frmCode End Function In the form MyForm, you might have two buttons, cmdOK and cmdCancel, and your...
  7. B

    Sum only unique records

    Your request is still not clear. What exactly is it that you are trying to accomplish?
  8. B

    MRP database

    Having participated in various MRP system programming projects, I salute you for your courage, for I can tell you that you have undertaken no lightweight project. An MRP database application in Microsoft Access is not a project considered within the scope of a beginner MS Access user. You must...
  9. B

    SQL Connection - Where to go

    In your SQL statement, For True: WHERE fldActive = 1 For False: WHERE fldActive = 0
  10. B

    SQL Connection - Where to go

    If you are opening a recordset on a select statement, and not directly on a table, your statement should be: rstEmployees.Open (SQL), Cnxn1, adOpenKeyset, adLockOptimistic, adCmdText
  11. B

    Access VBA Import Text Module

    You might try something like the following: Sub Test() Dim file_name As String Dim strPath As String ' NOTE: Make certain that CurDir is set to the ' directory of your choice strPath = CurDir & "\" & "*.txt" strfile = Dir(strPath) ' Loop through the...
  12. B

    Take screenshot and save to disc

    To convert a bitmap to a JPEG, the following reference from The VB Zone may help: IJL10.DLL This is the Intel® JPEG Library that is used to save and load JPG/JPEG files in Visual Basic. This DLL does not need to be registered with REGSVR32.EXE. See the following module(s) for ease of use in...
  13. B

    Question Update only 1st record out of multiple?

    You're welcome; I'm glad it worked for you.
  14. B

    Question Update only 1st record out of multiple?

    Try something like the following (substitute bracketed table/field names with the actual names): UPDATE [MyTable] T1 SET T1.[Fee] = 13 WHERE T1.[Line_No] = ( SELECT MIN(T2.[Line_No]) FROM [MyTable] T2 WHERE T2.[Order_No] = T1.[Order_No]);
  15. B

    Question Update only 1st record out of multiple?

    tagah, Databases require an actual field/value to make this determination; unless you have a field in your table that tracks line numbers, the database has no way to track it for you. What indicates the first record of each order number? Is it the Product #? Is there a Line Number? Example...
  16. B

    Question How to retrieve password for VB codes

    Yes, there is. Contact your "endorser" for the password.
  17. B

    Determine form from which a procedure was called

    Check out the following link: http://msdn.microsoft.com/en-us/library/aa286747(office.10).aspx
  18. B

    Removing a datasheet form toolbar?

    Set the Form's NavigationButtons property to No.
  19. B

    Acess SQL statment Help please.

    Also, instead of Format (n, "##0.00"), you might try Round(n, 2).
  20. B

    Works in full version, not runtime

    Easy. Either: 1) Share the scenario and the solution, that this thread may contribute to the knowledgebase of this forum, or 2) Delete the thread, since there is no scenario OR solution posted. This thread, in its current state, contributes nothing useful whatever.
Back
Top Bottom