K khan33 New member Local time Tomorrow, 00:36 Joined Apr 23, 2011 Messages 8 Jun 7, 2011 #1 Dear, I have to get a vlue from a table on textbox set focus event. query is as Select Price From Product where P_Name = p p is a string containing product name to be queried.
Dear, I have to get a vlue from a table on textbox set focus event. query is as Select Price From Product where P_Name = p p is a string containing product name to be queried.
John Big Booty AWF VIP Local time Tomorrow, 06:36 Joined Aug 29, 2005 Messages 8,262 Jun 7, 2011 #2 You could use the DLookup() function to retrieve and assign the required value.
K khan33 New member Local time Tomorrow, 00:36 Joined Apr 23, 2011 Messages 8 Jun 7, 2011 #3 Thanks, What about values from form to table. Is this DLookup can be used for insertion operation too.
Thanks, What about values from form to table. Is this DLookup can be used for insertion operation too.
John Big Booty AWF VIP Local time Tomorrow, 06:36 Joined Aug 29, 2005 Messages 8,262 Jun 7, 2011 #4 You can use the DLookup() to assign values to a bound control. However if you are able to do this there is probably really non need to store this in another table, as this would violate the concept of Data Normalisation.
You can use the DLookup() to assign values to a bound control. However if you are able to do this there is probably really non need to store this in another table, as this would violate the concept of Data Normalisation.