Micosoft Access Question.
Micosoft Access Question.
(OP)
This question is about Access 2000. I have a form with lables, text boxes, etc. which is linked to a table. If the table is empty (no records), then when the form comes up there is nothing on the form even the lables. But, when I populate the table with some records then the table comes up fine. I do not understand this behavior, I appreciate your comments.
Ali
Ali





RE: Micosoft Access Question.
CODE
If ((rFrm_Form.Recordset.BOF) And (rFrm_Form.Recordset.EOF)) Then
With Me.Recordset
.AddNew
.Fields("<one of the fields>") = <default value>
.Update
End With
End If
End Sub
Good Luck
--------------
As a circle of light increases so does the circumference of darkness around it. - Albert Einstein
RE: Micosoft Access Question.
Ali
RE: Micosoft Access Question.
Good Luck
--------------
As a circle of light increases so does the circumference of darkness around it. - Albert Einstein
RE: Micosoft Access Question.
Gerald Austin
Iuka, Mississippi
http://www.weldinginspectionsvcs.com