|
-
Jun 17th, 1999, 12:08 PM
#1
Thread Starter
New Member
1. In Finding record I previously asked to find records by typing few letters. That worked. But fetching more than one record, it didn’t work. So anybody tell me how to view records which fetches more than 1 record. I want to view that in the form itself.
That is I have a form where there is 3 textbox for three fields. I will enter the record in the textbox and save it. When I click find command button it will clear the content and I will place my cursor in one text box and type the related text and click Fetch command button so it will fetch the related record and show it in the text box.
What I want is if it returns more than one record then it should display the message that has fetched more than 1 and I want to view all the records by pressing next button or what so ever in the same text box.
2. How to find records of Date type.
So please somebody tell me with some examples, how to do the above things.
-
Jun 19th, 1999, 05:56 PM
#2
Member
I it is very long to explain
for finding all the records
use another data control
when you want find something
change data control
recordsource property
and refresh it.
example:
--------
Data1.recordsource="Select * from employees where employeename='xxxxxxx'"
to find date data type
---------------------
you should use #1/1/99#
eg:
data1.findfirst "hiredate=#1/1/99#"
instead of '1/1/99'
-
Jun 19th, 1999, 05:56 PM
#3
Member
I it is very long to explain
for finding all the records
use another data control
when you want find something
change data control
recordsource property
and refresh it.
example:
--------
Data1.recordsource="Select * from employees where employeename='xxxxxxx'"
to find date data type
---------------------
you should use #1/1/99#
eg:
data1.findfirst "hiredate=#1/1/99#"
instead of '1/1/99'
Let me know if you have any questions
email [email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|