My Assistant
![]() ![]() |
|
|
Nov 22 2004, 07:35 PM
Post
#1
|
|
|
New Member Posts: 12 From: Norway |
I ran in to a problem with my db. It seem's my brain's still on holiday...
I have a form with order information and a subform with document information(filename). One order have several documents. When I click a button on the mainform I want to make the files in the subform readonly (attribute). I have the readonly part figured out. But when i click the button I only changes the first record in the subform. I know the solution for this is simple, but my brain got wery complicated just now..... I have attached a sample database. |
|
|
|
Nov 23 2004, 02:22 AM
Post
#2
|
|
|
UtterAccess VIP Posts: 2,579 From: Abu Dhabi, U.A.E |
You could always create a recordset and loop in it, for ex:
But you will need to create some validation to check that the file exists before changing it's attribute, or else you'll get an error. P.S:You will need to add the DAO 3.6 reference. HTH |
|
|
|
![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 24th May 2013 - 01:39 AM |