D
DetRich
Hello,
I have form which has a hostname (textbox) plus several additional fields.
I would like to validate that the hostname entered by the user already exists
in the master Servers table. I think maybe a DCOUNT is the best way to
accomplish this, but if there is a better way, please advise me. I want to
use the hostname value entered on the form in the WHERE clause like this...
In SQL syntax, the query would be something like:
Select Count (*)
From Table
Where Form.hostname = table.hostname.
I think the DCOUNT syntax would be something like this:
Field table Criteria
If DCOUNT ("Hostname", "lktbl_servers", form.hostname =
lktbl_servers.hostname)
Can anyone help me get the syntax correct? I always go astray with the
single vs. double quotes in the criteria clause.
Thanks in advance,
DetRich
I have form which has a hostname (textbox) plus several additional fields.
I would like to validate that the hostname entered by the user already exists
in the master Servers table. I think maybe a DCOUNT is the best way to
accomplish this, but if there is a better way, please advise me. I want to
use the hostname value entered on the form in the WHERE clause like this...
In SQL syntax, the query would be something like:
Select Count (*)
From Table
Where Form.hostname = table.hostname.
I think the DCOUNT syntax would be something like this:
Field table Criteria
If DCOUNT ("Hostname", "lktbl_servers", form.hostname =
lktbl_servers.hostname)
Can anyone help me get the syntax correct? I always go astray with the
single vs. double quotes in the criteria clause.
Thanks in advance,
DetRich