Search results

  1. N

    SQL insert into dates

    This approach seems compact, I'll study it. Thank you.
  2. N

    SQL insert into dates

    Thank you for the suggestions It works. However, I don't understand why " ' " as hightlighted is present at the following partly script & txtDaysNotAvailable & "',#" & txtApptStart_Dt & "#,#" & txtApptEnd_Dt & "#,'" & txtRemarks & "');"
  3. N

    SQL insert into dates

    Thank you for the suggestion. I made few modification for the script to make it work CurrentDb.Execute "Insert into tblTNewAppt (TRef, AppointedBy, RankCode, JobPosition, Company, Honorarium, Allowance, FCF_No, Budget, DaysNotAvailable, ApptStart_Dt, ApptEnd_Dt, Remarks) " _ & "VALUES (' " &...
  4. N

    SQL insert into dates

    Hi, I've a question of insert into a table with the following codes. CurrentDb.Execute "Insert into tblTNewAppt (TRef, AppointedBy, RankCode, JobPosition, Company, Honorarium, Allowance, FCF_No, Budget, DaysNotAvailable, ApptStart_Dt, ApptEnd_Dt, Remarks) " _ & "VALUES (' " & lngID & "', '"...
  5. N

    Newly added record's key

    I don't quite understand what you're driving at. would you kindly advise on this? Thank you.
  6. N

    Newly added record's key

    Further to add an automatic increment number into another table, I need to add the rest column values at that table as well. The script is as follows: CurrentDb.Execute "Insert into tblTNewAppt (TRef, AppointedBy) VALUES " & "(" & lngID & "," & txtAppointedBy.Value & ");". However, I got...
  7. N

    What query is appropriate

    Thank you for the suggestion. Sorry for the misleading.
  8. N

    What query is appropriate

    I know. My concern is that if the query is the most appropriate approach. NT100
  9. N

    What query is appropriate

    My query is as below frmTProcessNewAppt SELECT tblTutor.LastName, tblTutor.FirstName, tblTutor.Alias FROM tblTutor INNER JOIN tblProcessTNewAppt ON tblTutor.TRef = tblProcessTNewAppt.TRef ORDER BY tblTutor.LastName, tblTutor.FirstName, tblTutor.Alias ; Note: All records in...
  10. N

    What query is appropriate

    Hi, I've a table "tblTutor" which contains tutor's key (TRef, an automatic incremental number), Name, Address, Email, etc. and a "tblProcessTNewAppt" which has "TRef" field from tblTutor as a foreign key. "tblProcessTNewAppt" table also contains the rest of this tutor's appointment matters...
  11. N

    Newly added record's key

    Great! It works excellent. Thanks a lot I've a question on this update. Does it also work in network environment as I've read @@IDENTITY is an alternative but can't work fine in network environment.
  12. N

    Newly added record's key

    Hi, An access form is created for the user to add records. My code to handle the input is that once "SAVE" command is pressed, I'll use a recordset and a ".AddNew" command followed a ".update" command to save the input into an ACCESS table - tblTutor, for example. (the key of the newly...
  13. N

    Medium Date format for DLookup

    Got the concept clearly
  14. N

    Outlook email to different recipients with their individuals attachments

    Thank you for the reminder, I'll close in due course. Thank you again.
  15. N

    Outlook email to different recipients with their individuals attachments

    I'm working on ACCESS database, I need to send out an Outlook email to different recipients with their individuals attachments. What would you suggest to do this? Is it possible to do without VBA, if VBA is used, how? NT100
  16. N

    Listbox display as table

    No, I mean the table look of listbox in a form.
  17. N

    Listbox display as table

    A table look of a listbox is uploaded as attached.
  18. N

    Listbox display as table

    Hi, I wonder if listbox can be setup as a table-like structure for display values of a single column data. Best. NT100
Back
Top Bottom