Search results

  1. pcs

    export to .csv file

    what is the code on your command button? are you using OutputTo or TransferText? do you have an export spec.? al
  2. pcs

    Simulating a key press

    dlookup is probably your best shot. it is sometimes difficult to get the previous record depending on your table structure, ie is the table's PK an autonumber or what...so Dmax might also be an option. al
  3. pcs

    Simulating a key press

    mugman17, sendkeys is kind of a 'last-ditch' effort...when nothing else works. happy to be of help... i learned something as well, i didn't think you could use sendkeys on a command button with setfocus to multiple controls! so thank you too :) al
  4. pcs

    A more clear discription

    don't want to be harsh...but, you have double-posted. :) just post a reply to your original message. you have an additional question at: http://www.access-programmers.co.uk/forums/showthread.php?s=&threadid=30992 we are here to help... :) al
  5. pcs

    Simulating a key press

    mugman17, -----you wrote----- The client wants this automated. To fill in 3 fields if needed. So I would do it through a command button. ------------------- imho, to do this you will have to use the autofill... -----you wrote----- I tried to autofill to work properly, but could not...
  6. pcs

    Simulating a key press

    the more robust approach would probably be using autofill. do a search for it on this board... you also might use the 'dreaded' sendkeys, however i don't think you can do this from a command button as the control in question probably has to have the focus. kinda ugly, but should work... :)...
  7. pcs

    Simulating a key press

    are you trying to generate accented characters by any chance? al
  8. pcs

    Text on Button

    richard, it's a very mixed blessing... :) these shortcuts can be a real pain when you are trying to prevent your users from 'mucking about' in your database. for some examples, click on the File and Edit menus in access. do you really want your users to create a new database by using Ctrl N...
  9. pcs

    Text on Button

    bgcogen to get multiple lines on a command button try this: edit the command button text... terminate each line with Ctrl M. this will force a CR into the command button and preserve the centering... hth, al
  10. pcs

    Problem with multi-field primary key

    edit - Oops i'm too slow today glad you got it sorted... :) i assume you mean the order detail form when you say: Form already has those properties set. what else happens when 'Place Order' is clicked, just the form close? al
  11. pcs

    Problem with multi-field primary key

    suspect your form is allowing updates to the already entered record, instead of adding a new record... you can probably check this by setting your form properties to Allow Edits:No and Data Entry:Yes. hth, al
  12. pcs

    Rounded Corners

    in A97 and earlier, at least, i don't think you can. you will need to create the round corner box in a graphics program and place it in your report as an image. probably way more trouble than it's worth... hth, al
  13. pcs

    Transfer Delimited

    check help for: TransferText Action -------------snip----------- If you click Import Delimited, Import Fixed Width, or Import HTML in the Transfer Type box, Microsoft Access appends the text data to this table if the table already exists. Otherwise, Microsoft Access creates a new table...
  14. pcs

    How to check if file present

    try, Dim MyFile ' Returns "test.txt" if file exists, Null if not. MyFile = Dir("C:\Myfolder\test.txt") hth, al
  15. pcs

    Formats in a text box

    andy, hmmm... oddly enough, access can perform math on a text field... please post the SQL for the query your report is based on. al
  16. pcs

    Formats in a text box

    what happens if you set the text properties on the report to : Format: Currency Decimal Places: 0 al
  17. pcs

    Number of columns you can import into

    not sure what is amiss, but i recently did a project (in A97) that imported 52 fields and did it using the import wizard w/no problems. guess it's possible later versions of the import wizard have been 'improved'. :) does access give any errors when you do the import? al
  18. pcs

    Continous Form move to next

    sorry to mis-lead... :( in my case, i'm using contiuous subforms and the fields are locked and tab stop set to No. pretty sure that is the difference... al
  19. pcs

    Continous Form move to next

    jon, not sure what is different for you, but in A97 the down arrow will move to the next record if a control on the continuous form has the focus (page up/down works as well...) hth, al
  20. pcs

    txt and field justification

    pungent, to get right justification to a text file, you will need to add spaces to the left of your field to get the desired length. you could use the Lpad function (from NeatCode97) in your query. ---------- Function LPad(S, ByVal C As String, N As Integer) As String ' ' Adds character C to...
Back
Top Bottom