473,407 Members | 2,359 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Record Saving issue

I am having an issue with my database in that it occasionally fails to save records, but the rest of the code ran by the button works flawlessly.

I am using the :
Expand|Select|Wrap|Line Numbers
  1. RunCommand acCmdSaveRecord
  2.  
method, there are no errors reported (although this could be because the users aren't telling me...).

My only guess is that it won't save if two users are viewing records from the same table at once, which I'm rather hoping isn't the problem. Obviously I can stop users from exiting the record without it being saved properly, but it would be nice to know the most common reasons for records not saving.
Mar 28 '11 #1
10 1629
TheSmileyCoder
2,322 Expert Mod 2GB
Unless your code is supressing errors/warnings, you should get an error message when a record is not saved. Without more details/seeing the rest of your code I have no other advice to offer.
Mar 28 '11 #2
the error coding is as follows:

Expand|Select|Wrap|Line Numbers
  1. CreateFile_Error:
  2. Select Case errorstate
  3. Case Is = 1
  4. MsgBox "Job Number Not able to be created, please contact Administrator", vbCritical, "SCM"
  5. Case Is = 2
  6. MsgBox "Job Number May Already Exist On This System, Please contact Administrator", vbCritical, "SCM"
  7. Case Is = 3
  8. MsgBox "Please ensure All Fields Marked With an Asterix (*) Are Filled In", vbCritical, "SCM"
  9. Case Is = 4
  10. MsgBox "File May Already Exist, Please contact Administrator", vbCritical, "SCM"
  11. Case Is = 5
  12. MsgBox "Unable To Create Project File, Please contact Administrator", vbCritical, "SCM"
  13. Case Is = 6
  14. MsgBox "Unable To Copy Project Files from Standards Folder, Please Contact Administrator", vbCritical, "SCM"
  15. Case Is = 7
  16. MsgBox "Unable To Locate External Project Manager Details, Please contact Administrator", vbCritical, "SCM"
  17. Case Is = 8
  18. Dim excelopen As String
  19. excelopen = MsgBox("Is there a version of SiteDetails.xlsx Currently Open?", vbYesNo, "SCM")
  20. Select Case excelopen
  21. Case vbYes
  22. MsgBox "Please Close Sitedetails.xlsx NOW!", vbCritical, "SCM"
  23. GoTo Line4
  24. Case Else
  25. MsgBox "Unable To Create Sitedetails.xlsx, Please Contact Administrator", vbCritical, "SCM"
  26. End Select
  27. Case Is = 9
  28. MsgBox "Unable to create Permananent Values, Please Contact Administrator", vbCritical, "SCM"
  29. Case Else
  30. Dim emailproblem As String
  31. emailproblem = MsgBox("Is Outlook open and Logged in?", vbYesNo, "SCM")
  32. Select Case emailproblem
  33. Case vbNo
  34. MsgBox "Please Open Outlook Before Continuing", vbCritical, "SCM"
  35. GoTo Line29
  36. Case Else
  37. MsgBox "Not Able to send email, Please contact administrator", vbCritical, "SCM"
  38. End Select
  39. End Select
  40.  
so, as far as I can see, does not suppress any warnings.

I have just spoken to one of the users who had the problem, and he has assured me that no warnings came up, and the program did not crash (what it used to do before I discvered error reporting!!).

So, no errors, code definately running all the way to the end (it ends with the system sending an email, checked the users sent items and the email has gone), but the record has not been saved.

I am very confused!!
Mar 28 '11 #3
TheSmileyCoder
2,322 Expert Mod 2GB
Its hard to say from your code, but I would start by adding a Case Else to your first Select statement. (As a good programming practise, I recommend always having a Case Else. If you know that its not meant to be used, simply add a Msgbox within the case else, so that if it should happen, you will be alerted.

Also I dont see where the RunCommand acCmdSaveRecord comes in.
Mar 29 '11 #4
I tried to avoid putting the full code in, as its horrendously long!

I shall have to try and put in an additional Case Else statement, although it should be covered by errorstate=9 (errorstate is simply an integer that rises throughout the function to give the appropriate error response).

The problem seems to stem from when a user is creating a new record in a table which another user has a record of open.

Obviously if it was the same record, this would be understandable, but its not!
Mar 29 '11 #5
TheSmileyCoder
2,322 Expert Mod 2GB
Do you have your forms recordlock property set to edited record?

Im no expert on recordlocks, but from what little I tried a while ago, I found that access locks the page that record is on, meaning it will also lock neighboring records. Now I dont think this should affect new records, but I really haven't worked much with recordlocks.

I dont really think your problem is connected to the "Case Else", I only mentioned it as a "best practice" advice.

Are you able to replicate the problem consistently?

Have you tried putting a simple msgbox before your save command, to ensure that the command is actually being run?
Example:
Expand|Select|Wrap|Line Numbers
  1. Msgbox "About to Save"
  2. Docmd.Runcommand acCmdSaveRecord
Mar 29 '11 #6
I haven't, but the code immediately preceeding it sends an email, and this always happens (it appears in the sent items), so I know it is always getting to the right point.

I did manage to replicate the problem, and there was no error message, so I have recoded the close button to check if the record has actually been saved, to prevent records being lost. However, this isn't an ideal situation!

I think you might be right in the record lock being the problem.
Mar 30 '11 #7
TheSmileyCoder
2,322 Expert Mod 2GB
If you dont have record locks enabled, like myself, you can add a bit of code yourself to maintain changes.

Personally I don't like access's option to overwrite or discard changes. In the areas I work in, the only viable solution is to discard changes, look at what the other user has done, and then decide how to proceed.

So I add a field to my table, dt_LastModified. Whenever the record is saved, I just set the field to Now()

This is then the code in the beforeupdate of the form, to check whether any edits has been made by other users:
Expand|Select|Wrap|Line Numbers
  1. Private Sub Form_BeforeUpdate(Cancel As Integer)
  2.  
  3.     If Not Me.NewRecord Then
  4.         'Check last modified
  5.         If Me.tb_LastModified < DLookup("dt_LastModified", Me.RecordSource, "KEY_Auto=" & Me.KEY_Auto) Then
  6.             MsgBox "This record has been modified by another user since you started editing"
  7.             Cancel = True
  8.             Me.Undo
  9.             Exit Sub
  10.         End If
  11.     End If
  12.     Me.tb_LastModified = Now()
  13. End Sub
If the record has been modified, I then Cancel the update, and undo the changes.
Mar 30 '11 #8
How do you make sure record locks are totally disabled?

I already have a record created/last modified date in the table, so that code would be nice and easy to apply.
Mar 30 '11 #9
TheSmileyCoder
2,322 Expert Mod 2GB
In the forms view you can set:
Record Locks: No Locks

I think there are other ways of locking as well, but I haven't really looked into it.
Mar 30 '11 #10
Finally got back into the office to have a look at this, the problem form already has no record locks.

So, back to being confused.

Here is the full code (Slightly abbreviated, as lots of it does the same thing)

Expand|Select|Wrap|Line Numbers
  1. Private Sub CreateFile_Click()
  2. On Error GoTo CreateFile_Error
  3. Dim errorstate As Integer
  4. errorstate = 1
  5.  
  6. MsgBox "Please ensure all excel files are closed and Outlook is Open before continuing", vbCritical, "Warning!"
  7.  
  8. If IsNull(BranchNumber) Or BranchNumber = "" Then
  9. BranchNumber.Value = "None"
  10. Dim jNoPrefix As String
  11. Dim jnocasewithtype As String
  12. Dim jnocasewithnotype As String
  13. Dim notype As String
  14. Dim jnocase As String
  15. Dim Numbergenerationwithtype As String
  16. Dim numbergenerationwithnotype As String
  17. Dim NumberGeneration As String
  18.  
  19.  
  20.  
  21. Dim numberrecordsforsite As Integer
  22. numberrecordsforsite = Nz(DCount("*", "Job", "[CustomerName] = CustomerName.Value AND [JobSiteName] = jobsitename.value"), 0)
  23. numberrecordsforsite = numberrecordsforsite + 1
  24.  
  25.  
  26. notype = "None"
  27.  
  28. jnocasewithtype = Nz(DLookup("[Prefix]", "tblJobNumberPrefix", "[Customer] = CustomerName.Value AND [Type] = JobType.Value"), "")
  29. jnocasewithnotype = Nz(DLookup("[Prefix]", "tblJobNumberPrefix", "[Customer] = CustomerName.Value AND [Type] = '" & notype & "'"), "")
  30.  
  31. jnocase = jnocasewithtype & jnocasewithnotype
  32.  
  33. Numbergenerationwithtype = Nz(DLookup("[Numbergeneration]", "tblJobNumberPrefix", "[Customer] = CustomerName.Value AND [Type] = JobType.Value"), "")
  34. numbergenerationwithnotype = Nz(DLookup("[NumberGeneration]", "tblJobNumberPrefix", "[Customer] = CustomerName.Value AND [Type] = '" & notype & "'"), "")
  35.  
  36. NumberGeneration = Numbergenerationwithtype & numbergenerationwithnotype
  37.  
  38.  
  39. Select Case NumberGeneration
  40. Case Is = "Branch Number"
  41. JobNumber.Value = jnocase & [BranchNumber] & "-" & numberrecordsforsite
  42. Case Is = "AutoNumber"
  43. JobNumber.Value = jnocase & [JobID]
  44. Case Else
  45. Dim jnocaseelse As String
  46. Dim notinlist As String
  47. notinlist = "Not In List"
  48. jnocaseelse = Nz(DLookup("[Prefix]", "tblJobNumberPrefix", "[Customer] = '" & notinlist & "'"), "")
  49. JobNumber.Value = jnocaseelse & [JobID]
  50. End Select
  51. End If
  52.  
  53. errorstate = errorstate + 1
  54.  
  55. Dim JNR As String
  56. Dim rsc As DAO.Recordset
  57. Dim jncheck As Long
  58. Dim datenow As Date
  59. datenow = Date
  60. datenow = datenow - 365
  61. Dim jncheckarchived As Long
  62. Dim sitealreadycreatedmsg1 As String
  63. Dim sitealreadycreatedmsg2 As String
  64.  
  65. Set rsc = Me.RecordsetClone
  66. JNR = Me.JobSiteName.Value
  67. jncheck = DCount("*", "job", "[Jobsitename]=jobsitename.value AND [CustomerName] = CustomerName.Value AND [Job File Creation Date]>#" & datenow & "#")
  68. jncheckarchived = DCount("*", "job", "[Jobsitename]=jobsitename.value AND [CustomerName] = CustomerName.Value AND [Job File Creation Date]>#" & datenow & "# AND [Archived]=-1")
  69. If jncheck > 0 And jncheckarchived = 0 Then
  70. sitealreadycreatedmsg = MsgBox("Site " & JNR & " Has been created on the system within the last year, are you sure you wish to continue?", vbYesNo, "Duplicate Value")
  71. Select Case sitealreadycreatedmsg1
  72. Case vbNo
  73. Exit Sub
  74. Case Else
  75. End Select
  76.  
  77. Else
  78.  
  79. End If
  80. If jncheckarchived > 0 Then
  81. sitealreadycreatedmsg2 = MsgBox("Site " & JNR & " Has been created on the system within the last year, but is currently archived" & vbCrLf & "Are you sure you wish to continue?", vbYesNo, "Duplicate Value")
  82. Select Case sitealreadycreatedmsg2
  83. Case vbNo
  84. Exit Sub
  85. Case Else
  86. End Select
  87. Else
  88. End If
  89.  
  90. errorstate = errorstate + 1
  91.  
  92. Set rsc = Nothing
  93.  
  94.  
  95. If IsNull(CustomerName) Or CustomerName = "" Then
  96. MsgBox "Please enter Client Name", vbOKOnly, "Required Data"
  97. CustomerName.SetFocus
  98. Exit Sub
  99. End If
  100.  
  101. 'Line repeated lots of times for different fields
  102.  
  103. errorstate = errorstate + 1
  104.  
  105.  
  106. Dim mdrive As String
  107. mdrive = [DriveDesignation]
  108. ChDrive mdrive
  109. Dim mdir As String
  110. mdir = [FolderPath]
  111. ChDir mdrive & mdir
  112.  
  113.  
  114. Line1:
  115. Dim cdir As String
  116. Dim cusdir As String
  117. cdir = [CustomerName]
  118. cusdir = Dir([CustomerName], vbDirectory)
  119. If cusdir = cdir Then GoTo Line2 Else
  120.  
  121. MkDir cdir
  122. Line2:
  123. ChDir cdir
  124. jobdir = Dir([JobSiteName] & " - " & [JobNumber], vbDirectory)
  125. If jobdir = [JobSiteName] & " - " & [JobNumber] Then
  126. MsgBox "File Already Exists"
  127. GoTo Line100
  128. Else
  129. RunCommand acCmdSaveRecord
  130.  
  131. errorstate = errorstate + 1
  132.  
  133. MkDir [JobSiteName] & " - " & [JobNumber]
  134. ChDir [JobSiteName] & " - " & [JobNumber]
  135. MkDir "a. Site Details"
  136. MkDir "i. Correspondence"
  137. MkDir "j. Photographs"
  138. MkDir "p. O&M Manual"
  139. ChDir "p. O&M Manual"
  140. MkDir "Completion Certificates"
  141. ChDir mdrive & mdir & "\" & [CustomerName] & "\" & [JobSiteName] & " - " & [JobNumber]
  142. Dim FSO As New Scripting.FileSystemObject
  143. Set FSO = New Scripting.FileSystemObject
  144.  
  145. errorstate = errorstate + 1
  146.  
  147. Dim specdrive As String
  148. specdrive = Nz(DLookup("[SpecificFolder]", "tbljobtype", "[JobType]='" & Me.JobType.Value & "'"), "")
  149. Dim sdir As String
  150. Dim sdrive As String
  151. sdir = [StandardsFolderPath]
  152. sdrive = [StandardsDriveDesignation]
  153.  
  154.  
  155. Select Case specdrive
  156. Case Is = -1
  157. FSO.CopyFolder sdrive & sdir & "\b. Tender or Quote\" & Me.JobType, "b. Tender or Quote", True
  158.  
  159. FSO.CopyFolder sdrive & sdir & "\d. Drawings\" & Me.JobType, "d. Drawings", True
  160. FSO.CopyFolder sdrive & sdir & "\e. Programmes\" & Me.JobType, "e. Programmes", True
  161. FSO.CopyFolder sdrive & sdir & "\h. Load Lists\" & Me.JobType, "h. Load Lists", True
  162. FSO.CopyFolder sdrive & sdir & "\f. Health & Safety\" & [FolderName] & "\" & Me.JobType, "f. Health & Safety", True
  163. FSO.CopyFolder sdrive & sdir & "\g. Orders\" & Me.JobType, "g. Orders", True
  164. FSO.CopyFolder sdrive & sdir & "\l. Signoffs\" & Me.JobType, "l. Signoffs", True
  165. FSO.CopyFolder sdrive & sdir & "\m. Variations\" & Me.JobType, "m. Variations", True
  166. FSO.CopyFolder sdrive & sdir & "\k. Minutes\" & Me.JobType, "k. Minutes", True
  167. FSO.CopyFolder sdrive & sdir & "\n. Finance\" & Me.JobType, "n. Finance", True
  168. FSO.CopyFolder sdrive & sdir & "\o. Snagging\" & Me.JobType, "o. Snagging", True
  169.  
  170. Case Else
  171. FSO.CopyFolder sdrive & sdir & "\b. Tender or Quote\Standard", "b. Tender or Quote", True
  172.  
  173. FSO.CopyFolder sdrive & sdir & "\d. Drawings\Standard", "d. Drawings", True
  174. FSO.CopyFolder sdrive & sdir & "\e. Programmes\Standard", "e. Programmes", True
  175. FSO.CopyFolder sdrive & sdir & "\h. Load Lists\Standard", "h. Load Lists", True
  176. FSO.CopyFolder sdrive & sdir & "\f. Health & Safety\" & [FolderName] & "\Standard", "f. Health & Safety", True
  177. FSO.CopyFolder sdrive & sdir & "\g. Orders\Standard", "g. Orders", True
  178. FSO.CopyFolder sdrive & sdir & "\l. Signoffs\Standard", "l. Signoffs", True
  179. FSO.CopyFolder sdrive & sdir & "\m. Variations\Standard", "m. Variations", True
  180. FSO.CopyFolder sdrive & sdir & "\k. Minutes\Standard", "k. Minutes", True
  181. FSO.CopyFolder sdrive & sdir & "\n. Finance\Standard", "n. Finance", True
  182. FSO.CopyFolder sdrive & sdir & "\o. Snagging\Standard", "o. Snagging", True
  183. End Select
  184.  
  185. ChDir "a. Site Details"
  186. FSO.CopyFolder sdrive & sdir & "\a. Site Details\Survey", "Survey", True
  187. MkDir "Site Details Old"
  188.  
  189.  
  190. ChDir sdrive & sdir & "\c. Standard Specifications"
  191. ssdir = Dir(cdir, vbDirectory)
  192. ChDir mdrive & mdir & "\" & [CustomerName] & "\" & [JobSiteName] & " - " & [JobNumber]
  193. If ssdir = [CustomerName] Then
  194. FSO.CopyFolder sdrive & sdir & "\c. Standard Specifications\" & [CustomerName], "c. Standard Specifications", True
  195. GoTo Line3
  196.  
  197. Else
  198. MkDir "c. Standard Specifications"
  199. Line3:
  200.  
  201. errorstate = errorstate + 1
  202.  
  203. Dim JSFCreator As String
  204. JSFCreator = [CurUser]
  205. JSFCreatedBy.Value = JSFCreator
  206.  
  207. Dim ExtPMLookupM As String
  208. Dim ExtPMLookupE As String
  209. Dim ExtPMLookupP As String
  210. Dim ExtPMLookupF As String
  211.  
  212. ExtPMLookupM = Nz(DLookup("[ExternalPMMobile]", "tblexternalPM", "[ExternalPMName]='" & Me.ExternalPM & "'"), "")
  213. ExtPMLookupE = Nz(DLookup("[ExternalPMEmail]", "tblexternalPM", "[ExternalPMName]='" & Me.ExternalPM & "'"), "")
  214. ExtPMLookupP = Nz(DLookup("[ExternalPMPhone]", "tblexternalPM", "[ExternalPMName]='" & Me.ExternalPM & "'"), "")
  215. ExtPMLookupF = Nz(DLookup("[ExternalPMFax]", "tblexternalPM", "[ExternalPMName]='" & Me.ExternalPM & "'"), "")
  216.  
  217. errorstate = errorstate + 1
  218.  
  219. Line4:
  220.  
  221. Dim ExcelSheet As Object
  222. Set ExcelSheet = CreateObject("Excel.Sheet")
  223. ExcelSheet.Application.Visible = True
  224. ExcelSheet.Application.Cells(1, 1).Value = "Customer"
  225. ExcelSheet.Application.Cells(1, 2).Value = [CustomerName]
  226. 'Again repeated lots of times for various different values
  227.  
  228. ExcelSheet.Application.ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True
  229.  
  230.  
  231. ExcelSheet.SaveAs mdrive & mdir & "\" & [CustomerName] & "\" & [JobSiteName] & " - " & [JobNumber] & "\a. Site Details\SiteDetails.xlsx"
  232. ExcelSheet.Application.Quit
  233.  
  234. Set ExcelSheet = Nothing
  235.  
  236. errorstate = errorstate + 1
  237.  
  238. Dim cnpermvalue As String
  239. cnpermvalue = [CustomerName]
  240. CNPermanent.Value = cnpermvalue
  241.  
  242. 'repeated more times for more hidden values
  243.  
  244. Dim RevisionNo As Integer
  245. RevisionNo = 0
  246. RevisionNumber.Value = RevisionNo
  247.  
  248.  
  249. RunCommand acCmdSaveRecord
  250.  
  251. errorstate = errorstate + 1
  252.  
  253. Line29:
  254.  
  255. Dim sSubject As String
  256. Dim Mail_Object As Object
  257. Dim Mail_Single As Variant
  258. Dim Mail_to As String
  259. Dim Mail_to_CC As String
  260.  
  261. Mail_to = DLookup("[email]", "tblusers", "[Username]='" & Me.IFSJobNoSetup & "'")
  262. Mail_to_CC = DLookup("[email]", "tblusers", "[Username]='" & Me.IFSJJobNoSetupCC & "'")
  263.  
  264.  
  265. Dim currentusername As String
  266.  
  267.  
  268.  
  269. currentusername = DLookup("[StaffName]", "tblusers", "[Username]='" & Me.CurUser & "'")
  270.  
  271.  
  272. Stext1 = "Please set up the following job" & vbCrLf & _
  273. "Job Number - " & [JobNumber] & vbCrLf & _
  274. "Customer - " & [CustomerName] & vbCrLf & _
  275. "Site Name - " & [JobSiteName] & vbCrLf & _
  276. "Address:" & vbCrLf & _
  277. [SiteAddressLine1] & vbCrLf & _
  278. [SiteAddressLine2] & vbCrLf & _
  279. [SiteAddressLine3] & vbCrLf & _
  280. [SiteAddressLine4] & vbCrLf & _
  281. [SitePostcode] & vbCrLf & _
  282. "Regards" & vbCrLf & vbCrLf & _
  283. currentusername
  284.  
  285.  
  286. sSubject = "Job Setup Request"
  287.  
  288.  
  289.  
  290. Set Mail_Object = CreateObject("Outlook.Application")
  291.  
  292. Set Mail_Single = Mail_Object.CreateItem(0)
  293. With Mail_Single
  294. .Subject = sSubject
  295. .To = Mail_to
  296. .cc = Mail_to_CC
  297. .Body = Stext1
  298. .Send
  299. End With
  300.  
  301. Set Mail_Object = Nothing
  302. Set Mail_Single = Nothing
  303.  
  304.  
  305. MsgBox "Project File Succesfully Created", vbInformation, "SCM"
  306.  
  307.  
  308. End If
  309. Line100:
  310. End If
  311.  
  312. Exit Sub
  313.  
  314. CreateFile_Error:
  315. Select Case errorstate
  316. Case Is = 1
  317. MsgBox "Job Number Not able to be created, please contact Administrator", vbCritical, "SCM"
  318. Case Is = 2
  319. MsgBox "Job Number May Already Exist On This System, Please contact Administrator", vbCritical, "SCM"
  320. Case Is = 3
  321. MsgBox "Please ensure All Fields Marked With an Asterix (*) Are Filled In", vbCritical, "SCM"
  322. Case Is = 4
  323. MsgBox "File May Already Exist, Please contact Administrator", vbCritical, "SCM"
  324. Case Is = 5
  325. MsgBox "Unable To Create Project File, Please contact Administrator", vbCritical, "SCM"
  326. Case Is = 6
  327. MsgBox "Unable To Copy Project Files from Standards Folder, Please Contact Administrator", vbCritical, "SCM"
  328. Case Is = 7
  329. MsgBox "Unable To Locate External Project Manager Details, Please contact Administrator", vbCritical, "SCM"
  330. Case Is = 8
  331. Dim excelopen As String
  332. excelopen = MsgBox("Is there a version of SiteDetails.xlsx Currently Open?", vbYesNo, "SCM")
  333. Select Case excelopen
  334. Case vbYes
  335. MsgBox "Please Close Sitedetails.xlsx NOW!", vbCritical, "SCM"
  336. GoTo Line4
  337. Case Else
  338. MsgBox "Unable To Create Sitedetails.xlsx, Please Contact Administrator", vbCritical, "SCM"
  339. End Select
  340. Case Is = 9
  341. MsgBox "Unable to create Permananent Values, Please Contact Administrator", vbCritical, "SCM"
  342. Case Else
  343. Dim emailproblem As String
  344. emailproblem = MsgBox("Is Outlook open and Logged in?", vbYesNo, "SCM")
  345. Select Case emailproblem
  346. Case vbNo
  347. MsgBox "Please Open Outlook Before Continuing", vbCritical, "SCM"
  348. GoTo Line29
  349. Case Else
  350. MsgBox "Not Able to send email, Please contact administrator", vbCritical, "SCM"
  351. End Select
  352. End Select
  353.  
Apr 4 '11 #11

Sign in to post your reply or Sign up for a free account.

Similar topics

21
by: Peter Miller | last post by:
Testing here seems to indicate a bug in Access XP/Jet 4 sp 8 such that Access will crash when trying to parse a certain type of query definition. All jet 4 machines here are updated through sp8,...
8
by: Mark | last post by:
When my form goes to a new record, I have a procedure that copies the last record added to the form's underlying table into the form. The intent is that a series of new records may have the same...
13
by: Stuart McGraw | last post by:
I haven't been able to figure this out and would appreciate some help... I have two tables, both with autonumber primary keys, and linked in a conventional master-child relationship. I've...
11
by: kaosyeti | last post by:
i have a form that records 9 fields into a table. on that form i have a 'done' button to close the form. right now, if the form is fully filled in, but you don't press 'enter' before you click...
27
by: Kim Webb | last post by:
I have a field on a form for project number. I basically want it to be the next available number (ie 06010 then 06011 etc). In the form I create a text box and under control source I put: =!=...
1
by: Catriona | last post by:
I am developing an Access application where users insert bill records for an electricity account by clicking on a new button. The required workflow is 1) New button clicked 2) New record appears...
3
by: ApexData | last post by:
I am using a continuous form for display purposes. Above this form, a single record is displayed so that when the user presses my NewButton they can enter a NewRecord which gets added to the...
3
klarae99
by: klarae99 | last post by:
Hello, I am using Access 2003 to design an inventory database. Please be pacient with this question, I am not sure how exactly to explain what is happening concisely but I will do my best. I...
0
by: Andy_Khosravi | last post by:
I'm having issues with updates being blocked due to some sort of record locking issue. The error does not occur consistently, so I've had a hard time nailing it down. It does happen enough to cause...
1
by: dedisource | last post by:
Hello guys Pl. can give me a solutions for a image saving tool in that i need to save bigger image size 24" x 18" with 150dpi, as my designing tool is working well but client need to save his design...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.