K
khashid via AccessMonster.com
Hi all, I have something in mind that I would want to create any help would
be appreciated.
I have two tables "TransactionDB" and "NewCards". Both tables have one same
field "Card_No".
Table "NewCards" have total 3 fields "Card_No" "Owner" & "Date".
Now I want to have a form where:
- I have a textbox(1) and a button next to it for searching cards.
- I have another box with can be label or textbox(2) to show specific word as
result
Now When user enters the 11 digit card no in the textbox and clicks on search
and event procedure will run that will:
* Search for the card no in table "TransactionDB" field "Card_No" if its
found then textbox(2) will show "USED CARD"
If card is not found then :
* Search for the card no in table "NewCard" field "Card_No" if its found
then textbox(2) will show "New CARD" and show the other two fields of table
"New Card". (I want to have these two fields not visible until card is new.
* If the card is not found in both tables then the TextBox(2) will show
result "Invalid Card"
be appreciated.
I have two tables "TransactionDB" and "NewCards". Both tables have one same
field "Card_No".
Table "NewCards" have total 3 fields "Card_No" "Owner" & "Date".
Now I want to have a form where:
- I have a textbox(1) and a button next to it for searching cards.
- I have another box with can be label or textbox(2) to show specific word as
result
Now When user enters the 11 digit card no in the textbox and clicks on search
and event procedure will run that will:
* Search for the card no in table "TransactionDB" field "Card_No" if its
found then textbox(2) will show "USED CARD"
If card is not found then :
* Search for the card no in table "NewCard" field "Card_No" if its found
then textbox(2) will show "New CARD" and show the other two fields of table
"New Card". (I want to have these two fields not visible until card is new.
* If the card is not found in both tables then the TextBox(2) will show
result "Invalid Card"