Search results

  1. Ranman256

    How to do, via vba, to create the MSYSImexSpecs and MSYSImexColumns tables?

    You shouldnt be making system tables via VBA.
  2. Ranman256

    how to turn off row selection

    dont think that is possible. but why remove it?
  3. Ranman256

    Solved Copy data from listbox to subform

    copy can use either: sql method: update t.subtable set [field]= forms!fMasterform!listbox where [id]=forms!fMasterform!txtID or just copy value: me.subform.form.txtBox = forms!fMasterform!listbox
  4. Ranman256

    combi box to long

    i have a textbox above the combo box to filter: txtFlt when user enters the filter string, switch source queries of the combo the query sql is like: qsFilterRecs = "select * from table where [Acct] like '*" & txtFlt & "*'" 'the AfterUpdate event for the filter: sub txtFlt_Afterupdate()...
  5. Ranman256

    Constraints against an external SQL server table

    I have checks in the entry form to make sure the user has entered correct data. Done on the form for easy changes, rather than have to edit the table properties. If IsValidForm() then SaveData Docmd.Close endif Private Function IsValidForm() As Boolean Dim vMsg Select Case True...
  6. Ranman256

    Mail Merge from Excel

    in excel, use Ctl-H to change values in Word, click MAILINGS, start mail merge mail merge wizard. it will guide you thru the steps and ask you to pick the Excel file that has the data.
  7. Ranman256

    update stock and allocation when issuing parts to the shop floor

    in a SQL database, you dont cycle thru records using code. Use update queries. This will run it fast. cycling 1 records at a time is slow. join your source table to the target table on a unique field.
  8. Ranman256

    Go to Record with Command button based off Unbound Combo Box

    what about using: me.filter = "[ID]=" & cboBox me.FilterOn = true
  9. Ranman256

    Solved BULK IMPORT CSV file to SQL Server

    did you use: Docmd.TransferText....? did that take an hour?
  10. Ranman256

    Pop up in report

    you can in a form, set the field property: ControlTipText Doesnt really work for reports.
  11. Ranman256

    Adding a record

    if its autonum, then there should be no problem. Just save the record and the new key is generated. Its passive, nothing for anybody to do here.
  12. Ranman256

    What is the most cheapest way to repeat the WiFi to the immediate next House?

    they plug in a booster device in their electric socket. (available everywhere) Add your IP to the address.
  13. Ranman256

    Can't enable trusted location for IP Address Network Share anymore (NOT INTERNET)

    you STILL must add that person's IP to the INTERNET OPTIONS, security tab, trusted sites. even tho youre not using internet, this allows you to use access on that pc.
  14. Ranman256

    Solved Need help with Dlookup the value in the same query.

    do NOT put dlookups in queries. too slow. join the lookup table in yr query. use Dlookup in form field if needed when i has nothing to do with the query. =Dlookup([Field2Return], query, [where clause])
  15. Ranman256

    copy records from subform to another

    run append query : source data using source master form key, to target master key on form2 then refresh subform2
  16. Ranman256

    Is there a way to Identify different front ends (same accde name) using VBA, local name or even folder share name?

    put a text box on the form with this datasource: =currentdb.Name
  17. Ranman256

    Launch running Access procedure before Windows login

    put your events in the autoexec when db starts: make macro AUTOEXEC runCode "MyPreProcedure" openForm "fLoginForm" but if mean run an app BEFORE they login to windows, then no. you cant. the code above lets you run the procedure then Login to your access app system.
  18. Ranman256

    Error: The multi-valued field cannot be used in a UNION query

    Q1,select top 3 table1... Q2, Select top 3 table2... Q3, Select top 3 table3... Q4 union: select * from Q1 union select * from Q2 union select * from Q3
  19. Ranman256

    Fast Code Sample

    1. dont loop thru recordsets. slowest. 2. run queries. update or other
  20. Ranman256

    Preview report based on filter query

    are you using someithing like: sFlt = "[ClientID]=" & me.cboClient docmd.OpenReport "rptName",acViewPreview ,sFlt better is: docmd.OpenReport "rptName",acViewPreview , , sFlt
Back
Top Bottom