codetoad.com
Home||ASP|ASP.Net|C++/C#|DHTML|HTML|Java|Javascript|Perl|VB|XML||CodeToadPlus!||Forums||RAM
Search Site:
Search Forums:
Creating an array from forms. blockers at 16:57 on Tuesday, November 11, 2003

Hi.

I want to make an array in VB (inside Access) that will:
1) select the data from the fields in a record, in a form
2) put the data in an array
3) find out if there is any fields with data not inputed
4) give a message to the user e.g. you have not entered data in: ****
5) where **** is the field where data is missing.

I have:
Private Sub Command13_Click()
Dim count As Integer

cname.SetFocus
If cname.Text = "" Then
MsgBox ("You have missed 'Contact Name' from the data")
count = count + 1
End If

If count = 1 Then
cname.SetFocus
Else: DoCmd.GoToRecord , , acNext
End If

End Sub


this only looks in on field, and i dont really want to copy it all out for each field on each record.

Can anyone help?

Will








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
matrix addition
Re: Storing data from HTML to Excel or TXT
Re: function within loop problem
Re: Ô‡´ò¥¯¥é¥Ö¤Ï ¥Æ©`¥é©`¥á¥¤¥É£ò£±£±¥¢¥¤¥¢¥ó ¤Î£··¬ ¤Ç¤¹
Re: Replace
Re: タイトリスト AP2アイアン 712�情�
Re: SMS from Perl using HTTP request
Re: Charl Schwartzel
Re: Adhyayan - Annual Student Conference and Online Coding Festival


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


Copyright codetoad.com 2001-2013