473,378 Members | 1,447 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

NEED FIND BUTTON TO RETURN MSG "NO RECORDS FOUND"

I would like to place a Find button on a form which uses the built-in
Access Find facility. If no records are found, I would like to display
a custom "no records found - plesae try again" message which overrides
the standard Access dialog.

I do know how to turn Warnings on and off, just not how to code for a
"No Records Found" on a button, as opposed to the Open Event of a
Form.

Thanks!
Amy
===
Nov 13 '05 #1
2 2075
HELP!

I can't seem to get this to work on an OnClick() Event.

Thanks!

amy
====

am*******@verizon.net (amywolfie) wrote in message news:<33**************************@posting.google. com>...
I would like to place a Find button on a form which uses the built-in
Access Find facility. If no records are found, I would like to display
a custom "no records found - plesae try again" message which overrides
the standard Access dialog.

I do know how to turn Warnings on and off, just not how to code for a
"No Records Found" on a button, as opposed to the Open Event of a
Form.

Thanks!
Amy
===

Nov 13 '05 #2
HELP! I still can't get this to work!

Thanks,

amy
====
am*******@verizon.net (amywolfie) wrote in message news:<33**************************@posting.google. com>...
I would like to place a Find button on a form which uses the built-in
Access Find facility. If no records are found, I would like to display
a custom "no records found - plesae try again" message which overrides
the standard Access dialog.

I do know how to turn Warnings on and off, just not how to code for a
"No Records Found" on a button, as opposed to the Open Event of a
Form.

Thanks!
Amy
===

Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Duke Hamacher | last post by:
Hello: This title is a little ambiguous but this is an interesting puzzle. Lets's say we have a JSP page with a form. The ActionForm associated with this form has, say, 4 String properities. ...
4
by: amywolfie | last post by:
I would like to put code behind a Find button on a form which: 1) Performs a find based on a field on the form 2) If NO RECORDS ARE FOUND, then displays a custom "No Records Found" message box. ...
1
by: Agnes | last post by:
I can't find any property about the "no of records" of datareader . I don't want to loop the datareader and use counter to count it. Any suggestion? Thanks
1
by: Kim | last post by:
How can I display "No data found" in the repeater if there are no records found after selecting an item from a dropdown list. Another question is: Can repeater perform paging as in datagrid if...
1
by: scottmachado | last post by:
I am currently running a marco that run a query and emails the results as an attachment in excel format. If the query has no records, I would like to email "no records found" in the first cell in...
5
by: balakrishnan.dinesh | last post by:
hi Frnds, I need Confirm box with "yes" or "no" buttons, Is that possible in JAVASCRIPT , Can anyone tell me the solution for this or anyother way to create confirm box with "yes" or "no" button?...
11
by: CrostonScottish | last post by:
Can anybody help? I have this code i have put together so that when i select values for my combo boxes which are linked to values in lookup tables, it opens my "frmriskass" with only the...
3
by: martin | last post by:
Hello, Could someone here please explain the reason for the error in the subject (the full error below) I dont get this everytime and i've never gotten while debugging. The code (also below)...
1
by: RN1 | last post by:
Sub Page_Load(........) If Not Page.IsPostBack Then Call LoadData() End If End Sub Sub LoadData() Dim dSet As DataSet Dim sqlConn As SqlConnection Dim sqlDapter As SqlDataAdapter
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.