473,399 Members | 2,159 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,399 software developers and data experts.

How do I write SQL code to run a query on enter?

I have a form within a form: linked by child/master fields. The query in the subForm needs to run when the text field has been populated and the user clicks "Enter". That same text field is used in the subform query. Is there anyway to do that w/out the command button? At this point, the user has to go to another record or exit out and go back, before the text field in the main form is populated. Any help is greatly appreciated!
Nov 18 '10 #1
1 1128
NeoPa
32,556 Expert Mod 16PB
You can call a Requery of the subform. You don't tell us the names of any of your objects so the best I can do is link you to Referring to Items on a Sub-Form.
Nov 18 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Vinay Jain | last post by:
Hi I want to write soundex query for example: select * from student where name soundex 'vinay'; In psql it gives error at soundex. Regards Vinay -- Vinay Jain Dissertation Project Trainee...
88
by: Peter Olcott | last post by:
Cab you write code directly in the Common Intermediate language? I need to optimize a critical real-time function.
0
by: somaskarthic | last post by:
Hi I'm having a table with data as follows ID Start_time End_time Days 1. 06:00:00 10:00:00 { 1 } 2. ...
0
by: abhishekjethwani | last post by:
How to write a query to access tree structure form multi table. I m having five tables from them first table give me a data which act as the parameter for query for the second table and the two...
1
by: avkdsiva | last post by:
I want to write a query on emp database, where the First character of empname should not be a letter. i.e., it can either be a number or special character.
8
by: mohammaditraders | last post by:
#include <iostream.h> #include <stdlib.h> #include <conio.h> #include <string.h> class Matrix { private : int numRows, numCols ; int elements ;
5
by: manjubhashini19583 | last post by:
Sir, how to write select query and insert query at the same time. I have one database that db having six field. waiting for your reply. thanking you
2
by: shabnam | last post by:
HI, I want to write a query for displaying ads.Ads may be many but all advertisements should not be displayed on the web page.only according to the date that particular ad should appear on the web...
1
by: anuragvatsa | last post by:
please help me to write a query in which i have to genrate report on basis of given columns from different tables. am using sql server 2005 thx & regards
2
by: Chandan Kr Sah | last post by:
How to write sql query to create column of type Yes/No with checkbox.By default it is creating with textbox. I am struglling for the same from one week. So plese provide me any solution for the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.