Jimmy
|
| Posted: 06/16/2004, 1:19 PM |
|
I am doing a password retrieval page; basically it is a grid with a search at the top of the page. Want the user to type in their email address and then hit search and it show their info in the grid below I used some code to make the grid not visible unless there was a record, but when there is not record I would still want an error message or a label that says not record. Does anyone have any ideas? , any kinda help would be great, I have thought about this and just have no ideas, Thanks in advanced,
This is the code i am using to make the grid not Visable if their are no results, the code works perfect, I just would liek to either see a pop-up or an error , saying no password found, Thanks
If Information.Recordset.EOF Then
Information.Visible = False
End If
More Information:
Table Name Information
.ASP , CCS, MS Access,
Thanks Again
|
|
|
 |
Tuong Do
|
| Posted: 06/16/2004, 5:07 PM |
|
Jim, you can add a label control call Message to the page
If Information.Recordset.EOF Then
Information.Visible = False
Message.value = "No password found."
End If
"Jimmy" <Jimmy@forum.codecharge> wrote in message
news:640d0ab63c5ee6@news.codecharge.com...
> I am doing a password retrieval page; basically it is a grid with a search
at
> the top of the page. Want the user to type in their email address and
then hit
> search and it show their info in the grid below I used some code to make
the
> grid not visible unless there was a record, but when there is not record I
> would still want an error message or a label that says not record. Does
anyone
> have any ideas? , any kinda help would be great, I have thought about this
and
> just have no ideas, Thanks in advanced,
>
> This is the code i am using to make the grid not Visable if their are no
> results, the code works perfect, I just would liek to either see a pop-up
or an
> error , saying no password found, Thanks
>
> If Information.Recordset.EOF Then
> Information.Visible = False
> End If
> More Information:
> Table Name Information
> ASP , CCS, MS Access,
>
>
> Thanks Again
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
DonB
|
| Posted: 06/22/2004, 2:58 PM |
|
For security reasons, to keep someone from sitting there and abusing the
function, I'd NOT give them a message about the password not being found.
--
DonB
http://www.gotodon.com/ccbth
"Jimmy" <Jimmy@forum.codecharge> wrote in message
news:640d0ab63c5ee6@news.codecharge.com...
> I am doing a password retrieval page; basically it is a grid with a search
at
> the top of the page. Want the user to type in their email address and
then hit
> search and it show their info in the grid below I used some code to make
the
> grid not visible unless there was a record, but when there is not record I
> would still want an error message or a label that says not record. Does
anyone
> have any ideas? , any kinda help would be great, I have thought about this
and
> just have no ideas, Thanks in advanced,
>
> This is the code i am using to make the grid not Visable if their are no
> results, the code works perfect, I just would liek to either see a pop-up
or an
> error , saying no password found, Thanks
>
> If Information.Recordset.EOF Then
> Information.Visible = False
> End If
> More Information:
> Table Name Information
> ASP , CCS, MS Access,
>
>
> Thanks Again
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
Gagandeeep Singh
|
| Posted: 08/31/2004, 11:04 PM |
|
Hii You are doing a great job
|
|
|
 |
|