Search results

  1. J

    Required field property is not listed

    'Required' is set at the Table level, not the form level. You can use validation on the 'before update' event in its place.
  2. J

    capture day from date field

    By gum, you're right! Stupid english language... dim dayofdate dayofdate = Day([FieldName]) Select Case dayofdate Case 11 To 13 ending = "th" Case Else datelastdigit = Right(dayofdate, 1) Select Case datelastdigit Case 1 ending =...
  3. J

    capture day from date field

    It doesn't?
  4. J

    audit Trail to read the caption of the field from the table

    If it does exist...Microsoft buried it well. You CAN reference a label's associated textbox via the 'Parent' property, but there's no reciprical 'Child' property on the textbox. EDIT: Found it. Buried well. Returns the caption of a textbox's associated label: Dim ctl As Control Set ctl =...
  5. J

    audit Trail to read the caption of the field from the table

    The trouble is...it's not clear. On a form, there are labels, and there are textboxes tied to fields. Two different things. Captions only apply to labels--textboxes do not have captions. If you are refering to the Caption property of a Field as set in Table Design mode (NOT on a form), then...
  6. J

    form not updating after data entry

    Make sure the new record in the detailed form is saved before opening the short form (docmd.runcommand accmdsaverecord)
  7. J

    capture day from date field

    You'd probably have to do it manually: Declare variables: dim datelastdigit, ending, thedate Figure out if it needs the 'st', 'nd', 'rd', or 'th' ending by first finding the last digit of the Day: datelastdigit = Right(Day([Fieldname]),1) Then use a case statement to figure out the ending...
  8. J

    Button to Export Multiple Reports to Single PDF

    Just thought of something...have you considered using subreports to merge your multiple reports into a single one? Combined with the 'Use Specific Printer' setting, it'd probably be easier than figuring out the Acrobat API...
  9. J

    Report/Query question. In over my head :-(

    Pshh...excuses, excuses. Perhaps I should decrease your reputation for being late. :p
  10. J

    Button to Export Multiple Reports to Single PDF

    If it's possible, it'll be through the Acrobat API. You can get the source documentation here: http://www.adobe.com/devnet/acrobat/
  11. J

    Report/Query question. In over my head :-(

    So...we all agree :D
  12. J

    Report/Query question. In over my head :-(

    How much information is in your database? Hopefully...not much. Because, well...you're going to hate me if there is. You need to re-design your database. You should, instead, have three tables: Employees: EmpID(autonumber/PK), Name, StartDate, Dept, Mgr Class: ClassID(autonumber/PK), Name...
  13. J

    Listbox

    Use the wizard to create the search. Then, take a look at the code the wizard writes. Adjust and apply that code to your own search function. Delete the wizard's combobox and underlaying code, if you want.
  14. J

    audit Trail to read the caption of the field from the table

    The field labels, by default, are called "Label<n>", where <n> is a number. They have a property called "Caption". To read the caption, you might use this: str1 = Label23.Caption You may want to rename your labels to something more meaningful, like 'lblName' or similar.
  15. J

    Listbox

    The ComboBox wizard includes a wizard to go to a specific record. Use that, then convert it to a List Box (though the combobox is the preferred method).
  16. J

    Voice to text software

    rofl...it's been 5 years away from that for the last what...10 years? ;) But I'll second Dragon Naturally Speaking. Not only does it have top-of-the-class speech-to-text, but its text-to-speech is superior to anything else on the market.
  17. J

    Need Help Moving Linked Access Database to a MSSQL Server

    Are you actually converting your database to SQL Server, or are you just moving the database file to a folder on a server that happens to also have SQL Server installed? I'm assuming the latter. After you've moved the database, open it and click on 'Tools-->Database Utilities-->Linked Table...
  18. J

    creating summary of data

    Even better. What can I say...I've been on a PivotTable kick lately ;)
  19. J

    Displaying results of SQL query on form

    Put it in the 'After Update' event of the subform (referenced via Forms!formname!fieldname.ReQuery) Wow. That's a lot of fields. And a lot of typing. Try using a 'with' statement to make it easier, ie, instead of forms!formname!fieldname1.requery forms!formname!fieldname2.requery ... Use With...
  20. J

    total of an invoice to a table

    Via code, you would add a record to the table. Replace the variables with the appropriate ones. Green denotes the form field names, red denotes the table field names. dim rs, db Set db = CurrentDb() Set rs = db.OpenRecordset("TableName") with rs .AddNew !ClientID = ClientID !InvoiceID =...
Top Bottom