Microsoft
Software
Hardware
Network
Question : Set focus to first null value for records in subform
1) For the attached database, I would like the focus to be on the field with the first record having a Null value for the [txtCode] control.
2) When there is no Null values for the [txtCode] control, focus will be on the [txtCode] field of the first record.
The logic of code would probably look something like this:
Private Sub Form_Load()
If txtCode field for any records are Null Then
Go to [txtCode] field of the first record showing null.
Else
Go to first [txtCode] field of recordset.
End If
End Sub
Attachments:
SetFocusNullRecord.mdb
(280 KB)
(File Type Details)
example database
Answer : Set focus to first null value for records in subform
if you like to switch choose manage identities in the same window
Random Solutions
Windows 7 Firewall Service Unresponsive
Delphi Runtime Packages
SQL 2008 Maintenance Plan, edit backup filename
Powershell script that can query a OU and get all group name,Members and count of members into a csv/Excel.
EtherChannel on Cisco 2960 switch intermittent dropped packet
VB.NET Setup Installing App Files Without Asking What Folder to Install
How can I get a Buy Now url for PayPal rather than the input button described to use?
Mailbox Quota full
Internet shortcut via batch file
PC faxing error